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
1 changed files with 1 additions and 1 deletions

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