Jeff pointed out this flaw in the example

This commit is contained in:
Daniel Stenberg 2002-12-03 12:34:43 +00:00
parent a47250810e
commit a39cdc80b7
1 changed files with 2 additions and 1 deletions

View File

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