Fixed build on win.

This commit is contained in:
Klaas Freitag 2013-02-10 16:43:38 +01:00
parent c98f2dfba9
commit 75cc77b947

View file

@ -1109,8 +1109,10 @@ static struct listdir_context *fetch_resource_list(const char *uri, int depth)
static struct listdir_context *fetch_resource_list_attempts(const char *uri, int depth)
{
int i;
struct listdir_context *fetchCtx = NULL;
for(int i = 0; i < 10; ++i) {
for(i = 0; i < 10; ++i) {
fetchCtx = fetch_resource_list(uri, depth);
if(fetchCtx) break;
DEBUG_WEBDAV("=> Errno after fetch resource list for %s: %d", uri, errno);