aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-31 17:54:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-31 17:54:01 +0000
commit4f17c583153cd42f40e89e25fa33259886fcdd8e (patch)
tree77242622887d997e91d5565b6cd1d6c56508064c /lib/multi.c
parentf6251734fcb118bb513f8484b45aa653f5c76eb1 (diff)
Fixed an invalid returned error code added in my last submission.
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;
}
}
}