1
0
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:
Daniel Stenberg 2003-08-20 13:49:46 +00:00
parent cb48c6a3d8
commit 61629d2c86

View File

@ -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;