mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
call curl_multi_perform() correctly
This commit is contained in:
parent
ed22f75241
commit
16e0da2c4b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user