diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-12-03 12:34:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-12-03 12:34:43 +0000 |
commit | a39cdc80b7ed6d98612a718e7eec63bb44a4a46b (patch) | |
tree | c5507c246b7da729e4ff7a53c2310f42679c6386 /docs | |
parent | a47250810edaec6e367fd56c4442d03abc8837d6 (diff) |
Jeff pointed out this flaw in the example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/multi-double.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/multi-double.c b/docs/examples/multi-double.c index 2b92d55f5..51b4ed370 100644 --- a/docs/examples/multi-double.c +++ b/docs/examples/multi-double.c @@ -80,7 +80,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; } } |