Lines Matching refs:msg
147 CURLMsg *msg; in main() local
215 while((msg = curl_multi_info_read(multi, &msgs_in_queue)) != NULL) { in main()
216 if(msg->msg == CURLMSG_DONE) { in main()
219 curl_easy_getinfo(msg->easy_handle, CURLINFO_XFER_ID, &xfer_id); in main()
220 curl_easy_getinfo(msg->easy_handle, CURLINFO_RESPONSE_CODE, &status); in main()
221 if(msg->data.result == CURLE_SEND_ERROR || in main()
222 msg->data.result == CURLE_RECV_ERROR) { in main()
226 else if(msg->data.result) { in main()
228 ": failed with %d\n", xfer_id, msg->data.result); in main()
236 curl_multi_remove_handle(multi, msg->easy_handle); in main()
237 curl_easy_cleanup(msg->easy_handle); in main()