From: Daniel Stenberg Date: Tue, 31 Aug 2004 06:04:43 +0000 (+0000) Subject: fix the return code for curl_multi_add_handle() X-Git-Tag: curl-7_12_2~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92637303db99a73f260413fdaf97da4e5c8f4a61;p=thirdparty%2Fcurl.git fix the return code for curl_multi_add_handle() --- diff --git a/CHANGES b/CHANGES index 6407a49646..88eb32cd0a 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changelog +Daniel (31 August 2004) +- David Tarendash fount out that curl_multi_add_handle() returned + CURLM_CALL_MULTI_PERFORM instead of CURLM_OK. + Daniel (30 August 2004) - Make "Proxy-Connection: close" close the current proxy connection, as Roman Koifman found out. diff --git a/lib/multi.c b/lib/multi.c index 12b987ff0d..72e953eb17 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -177,7 +177,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle, /* increase the node-counter */ multi->num_easy++; - return CURLM_CALL_MULTI_PERFORM; + return CURLM_OK; } CURLMcode curl_multi_remove_handle(CURLM *multi_handle,