aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/multi-double.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/multi-double.c')
-rw-r--r--docs/examples/multi-double.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/examples/multi-double.c b/docs/examples/multi-double.c
index 8ac939a96..702f9ae3d 100644
--- a/docs/examples/multi-double.c
+++ b/docs/examples/multi-double.c
@@ -47,8 +47,7 @@ int main(int argc, char **argv)
curl_multi_add_handle(multi_handle, http_handle2);
/* we start some action by calling perform right away */
- while(CURLM_CALL_MULTI_PERFORM ==
- curl_multi_perform(multi_handle, &still_running));
+ curl_multi_perform(multi_handle, &still_running);
while(still_running) {
struct timeval timeout;
@@ -96,8 +95,7 @@ int main(int argc, char **argv)
case 0:
default:
/* timeout or readable/writable sockets */
- while(CURLM_CALL_MULTI_PERFORM ==
- curl_multi_perform(multi_handle, &still_running));
+ curl_multi_perform(multi_handle, &still_running);
break;
}
}