aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib575.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib575.c')
-rw-r--r--tests/libtest/lib575.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/libtest/lib575.c b/tests/libtest/lib575.c
index 4d0b16576..bb84b1a1c 100644
--- a/tests/libtest/lib575.c
+++ b/tests/libtest/lib575.c
@@ -81,8 +81,7 @@ int test(char *URL)
curl_multi_add_handle(mhandle, handle);
- while(CURLM_CALL_MULTI_PERFORM ==
- curl_multi_perform(mhandle, &still_running));
+ curl_multi_perform(mhandle, &still_running);
while(still_running) {
static struct timeval timeout = /* 100 ms */ { 0, 100000L };
@@ -108,8 +107,7 @@ int test(char *URL)
goto test_cleanup;
}
else {
- while(CURLM_CALL_MULTI_PERFORM ==
- curl_multi_perform(mhandle, &still_running));
+ curl_multi_perform(mhandle, &still_running);
}
}