aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
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));
}
}