aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-08-12 18:32:55 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-08-12 18:32:55 +0000
commit9ee7a014c90772a891a89ef02b0890b867e9ddbc (patch)
tree1f755fa85cb89d61f8a0e011ba420ddcaeef7f3c /tests/libtest
parente1ab7db87dfa849da303c59f1a4a2f78db13c66e (diff)
Handle short reads
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib556.c2
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));
}
}