Skip to content
Snippets Groups Projects
Commit 61629d2c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

made curl_multi_info_read() set 'msgs_in_queue' to 0 even when it returns

NULL!
parent cb48c6a3
No related branches found
No related tags found
No related merge requests found
......@@ -588,6 +588,8 @@ CURLMsg *curl_multi_info_read(CURLM *multi_handle, int *msgs_in_queue)
{
struct Curl_multi *multi=(struct Curl_multi *)multi_handle;
*msgs_in_queue = 0; /* default to none */
if(GOOD_MULTI_HANDLE(multi)) {
struct Curl_one_easy *easy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment