diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c index 22583a2365d5384bf06ccf44196a8ed9eb5a511b..85fd65699879c1c37f95fdb29713aa73514500db 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)); } }