mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
made curl_multi_info_read() set 'msgs_in_queue' to 0 even when it returns
NULL!
This commit is contained in:
parent
cb48c6a3d8
commit
61629d2c86
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user