aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib575.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-26 23:12:08 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-27 16:01:41 +0200
commitfb48e2050b558c908c7740d1c4f20fd17fdf7fe6 (patch)
tree9425a7c6a674d87bc58792f1a25169260968a0d6 /tests/libtest/lib575.c
parent78480892cdbbc67f419d0acfdf1865043bc31f62 (diff)
libtests: stop checking for CURLM_CALL_MULTI_PERFORM
CURLM_CALL_MULTI_PERFORM stopped being a valid return code from curl_multi_perform back in 7.20.0. All the libcurl tests are ajusted to this and no longer check for this return code. Makes them simpler.
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);
}
}