1
0
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:
Daniel Stenberg 2003-01-09 11:42:07 +00:00
parent ed22f75241
commit 16e0da2c4b

View File

@ -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;
}
}