mirror of
https://github.com/curl/curl.git
synced 2026-07-06 06:27:16 +03:00
docs: use mresult as variable name for CURLMcode
This commit is contained in:
parent
b2c621ab8a
commit
1c1472f836
27 changed files with 126 additions and 126 deletions
|
|
@ -146,13 +146,13 @@ int main(void)
|
|||
curl_multi_add_handle(multi, curl);
|
||||
|
||||
do {
|
||||
CURLMcode mc = curl_multi_perform(multi, &still_running);
|
||||
CURLMcode mresult = curl_multi_perform(multi, &still_running);
|
||||
|
||||
if(still_running)
|
||||
/* wait for activity, timeout or "nothing" */
|
||||
mc = curl_multi_poll(multi, NULL, 0, 1000, NULL);
|
||||
mresult = curl_multi_poll(multi, NULL, 0, 1000, NULL);
|
||||
|
||||
if(mc)
|
||||
if(mresult)
|
||||
break;
|
||||
|
||||
} while(still_running);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue