From: Daniel Stenberg Date: Mon, 12 Feb 2007 12:15:41 +0000 (+0000) Subject: - Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle X-Git-Tag: curl-7_16_2~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d096620138199b06175ae57fd2385d3cb1ee63;p=thirdparty%2Fcurl.git - Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle that has an easy handle present in the "closure" list pending closure. --- diff --git a/CHANGES b/CHANGES index 624317f52c..1d395b7a76 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changelog +Daniel (12 February 2007) +- Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle + that has an easy handle present in the "closure" list pending closure. + Daniel (6 February 2007) - Regular file downloads wiht SFTP and SCP are now done using the non-blocking API of libssh2, if the libssh2 headers seem to support them. This will make diff --git a/lib/multi.c b/lib/multi.c index b501f296f8..d32172288f 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -396,6 +396,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle, break; /* no need to continue since this handle can only be present once in the list */ } + prev = cl; cl = next; }