Loading docs/examples/multi-app.c +17 −14 Original line number Diff line number Diff line Loading @@ -105,11 +105,14 @@ int main(int argc, char **argv) /* See how the transfers went */ while ((msg = curl_multi_info_read(multi_handle, &msgs_left))) { if (msg->msg == CURLMSG_DONE) { int idx, found = 0; /* Find out which handle this message is about */ for (idx=0; (!found && (idx<HANDLECOUNT)); idx++) found = (msg->easy_handle == handles[idx]); for (idx=0; idx<HANDLECOUNT; idx++) { found = (msg->easy_handle == handles[idx]); if(found) break; } switch (idx) { case HTTP_HANDLE: Loading Loading
docs/examples/multi-app.c +17 −14 Original line number Diff line number Diff line Loading @@ -105,11 +105,14 @@ int main(int argc, char **argv) /* See how the transfers went */ while ((msg = curl_multi_info_read(multi_handle, &msgs_left))) { if (msg->msg == CURLMSG_DONE) { int idx, found = 0; /* Find out which handle this message is about */ for (idx=0; (!found && (idx<HANDLECOUNT)); idx++) found = (msg->easy_handle == handles[idx]); for (idx=0; idx<HANDLECOUNT; idx++) { found = (msg->easy_handle == handles[idx]); if(found) break; } switch (idx) { case HTTP_HANDLE: Loading