diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-31 06:04:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-31 06:04:43 +0000 |
commit | 92637303db99a73f260413fdaf97da4e5c8f4a61 (patch) | |
tree | 0df9b771cf75f3c9ecd2036ea151c4eb63637421 | |
parent | 811dfd710ba2ad43a82019a0aa33d8b1eb4179a4 (diff) |
fix the return code for curl_multi_add_handle()
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | lib/multi.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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, |