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; }