aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}
}