diff options
Diffstat (limited to 'docs/examples/multi-post.c')
-rw-r--r-- | docs/examples/multi-post.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/examples/multi-post.c b/docs/examples/multi-post.c index df574ae72..8ab4bb904 100644 --- a/docs/examples/multi-post.c +++ b/docs/examples/multi-post.c @@ -67,8 +67,7 @@ int main(int argc, char *argv[]) curl_multi_add_handle(multi_handle, curl); - 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; @@ -118,8 +117,7 @@ int main(int argc, char *argv[]) default: /* timeout or readable/writable sockets */ printf("perform!\n"); - while(CURLM_CALL_MULTI_PERFORM == - curl_multi_perform(multi_handle, &still_running)); + curl_multi_perform(multi_handle, &still_running); printf("running: %d!\n", still_running); break; } |