1
0
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:
Dan Fandrich 2007-08-31 17:54:01 +00:00
parent f6251734fc
commit 4f17c58315

View File

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