aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-31 06:04:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-31 06:04:43 +0000
commit92637303db99a73f260413fdaf97da4e5c8f4a61 (patch)
tree0df9b771cf75f3c9ecd2036ea151c4eb63637421
parent811dfd710ba2ad43a82019a0aa33d8b1eb4179a4 (diff)
fix the return code for curl_multi_add_handle()
-rw-r--r--CHANGES4
-rw-r--r--lib/multi.c2
2 files changed, 5 insertions, 1 deletions
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,