]> granicus.if.org Git - curl/commitdiff
Fixed an invalid returned error code added in my last submission.
authorDan Fandrich <dan@coneharvesters.com>
Fri, 31 Aug 2007 17:54:01 +0000 (17:54 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 31 Aug 2007 17:54:01 +0000 (17:54 +0000)
lib/multi.c

index b2e513043bfed313e8476c1c53c534ea55c24ede..95544e6625ebdefcf0810dffe90d916e1189ca03 100644 (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;
       }
     }
   }