Handle short reads

This commit is contained in:
Dan Fandrich 2008-08-12 18:32:55 +00:00
parent e1ab7db87d
commit 9ee7a014c9

View File

@ -54,7 +54,7 @@ int test(char *URL)
total += iolen;
} while((res == CURLE_AGAIN) && (total < 129));
} while(((res == CURLE_OK) || (res == CURLE_AGAIN)) && (total < 129));
}
}