mirror of
https://github.com/curl/curl.git
synced 2026-07-23 23:47:15 +03:00
Compiler warning fix
This commit is contained in:
parent
ba01198e6c
commit
b2ca777a08
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue