From 4f17c583153cd42f40e89e25fa33259886fcdd8e Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 31 Aug 2007 17:54:01 +0000 Subject: Fixed an invalid returned error code added in my last submission. --- lib/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/multi.c b/lib/multi.c index b2e513043..95544e662 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -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; } } } -- cgit v1.2.3