mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Jeff pointed out this flaw in the example
This commit is contained in:
parent
a47250810e
commit
a39cdc80b7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user