diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-08-12 18:32:55 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-08-12 18:32:55 +0000 |
commit | 9ee7a014c90772a891a89ef02b0890b867e9ddbc (patch) | |
tree | 1f755fa85cb89d61f8a0e011ba420ddcaeef7f3c /tests | |
parent | e1ab7db87dfa849da303c59f1a4a2f78db13c66e (diff) |
Handle short reads
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib556.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c index 22583a236..85fd65699 100644 --- a/tests/libtest/lib556.c +++ b/tests/libtest/lib556.c @@ -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)); } } |