From 92637303db99a73f260413fdaf97da4e5c8f4a61 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 31 Aug 2004 06:04:43 +0000 Subject: [PATCH] fix the return code for curl_multi_add_handle() --- CHANGES | 4 ++++ lib/multi.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 6407a4964..88eb32cd0 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 12b987ff0..72e953eb1 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,