Skip to content
Snippets Groups Projects
Commit b2ca777a authored by Yang Tse's avatar Yang Tse
Browse files

Compiler warning fix

parent ba01198e
No related branches found
No related tags found
No related merge requests found
......@@ -430,9 +430,9 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
by default. */
CURLcode res = Curl_ch_connc(easy_handle, multi->connc,
multi->connc->num*4);
if(res)
if(res != CURLE_OK)
/* TODO: we need to do some cleaning up here! */
return res;
return CURLM_OUT_OF_MEMORY;
}
/* increase the alive-counter */
......
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