docs: use mresult as variable name for CURLMcode

This commit is contained in:
Daniel Stenberg 2025-12-16 13:47:45 +01:00
parent 56f600ec23
commit d21f4372ff
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
27 changed files with 126 additions and 126 deletions

View file

@ -338,13 +338,13 @@ int main(int argc, char **argv)
curl_multi_setopt(multi, CURLMOPT_MAX_HOST_CONNECTIONS, 1L);
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);