Lines Matching refs:msg
183 CURLMsg *msg; in main() local
275 while((msg = curl_multi_info_read(multi, &msgs_in_queue)) != NULL) { in main()
276 if(msg->msg == CURLMSG_DONE) { in main()
279 curl_easy_getinfo(msg->easy_handle, CURLINFO_XFER_ID, &xfer_id); in main()
280 curl_easy_getinfo(msg->easy_handle, CURLINFO_RESPONSE_CODE, &status); in main()
281 if(msg->data.result == CURLE_SEND_ERROR || in main()
282 msg->data.result == CURLE_RECV_ERROR) { in main()
286 else if(msg->data.result) { in main()
288 ": failed with %d\n", xfer_id, msg->data.result); in main()
296 curl_multi_remove_handle(multi, msg->easy_handle); in main()
297 curl_easy_cleanup(msg->easy_handle); in main()