diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-01-09 11:42:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-01-09 11:42:07 +0000 |
commit | 16e0da2c4b5048129fdb04896dbb0ec86a927ae0 (patch) | |
tree | 25ca4ccda4fa66e16e58b0d08642b5e60000de85 /docs/examples | |
parent | ed22f752414b12dc2790cdaae87f410451db3d53 (diff) |
call curl_multi_perform() correctly
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/multi-single.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c index 562886a10..1998d25db 100644 --- a/docs/examples/multi-single.c +++ b/docs/examples/multi-single.c @@ -74,7 +74,8 @@ int main(int argc, char **argv) case 0: default: /* timeout or readable/writable sockets */ - curl_multi_perform(multi_handle, &still_running); + while(CURLM_CALL_MULTI_PERFORM == + curl_multi_perform(multi_handle, &still_running)); break; } } |