mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Fixed an invalid returned error code added in my last submission.
This commit is contained in:
parent
f6251734fc
commit
4f17c58315
@ -523,7 +523,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
|
||||
if(res != CURLE_OK) {
|
||||
/* FIXME: may need to do more cleanup here */
|
||||
curl_multi_remove_handle(multi_handle, easy_handle);
|
||||
return res;
|
||||
return CURLM_OUT_OF_MEMORY;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user