cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Bug in curl_multi_info_read in multi.c?

From: Daniel Johnson <daniel_at_daniel-johnson.org>
Date: Fri, 23 Mar 2007 20:19:59 -0400

I believe I've found a bug in multi.c. Patch attached.

Index: lib/multi.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/multi.c,v
retrieving revision 1.133
diff -u -r1.133 multi.c
--- lib/multi.c 23 Mar 2007 22:25:04 -0000 1.133
+++ lib/multi.c 24 Mar 2007 00:04:14 -0000
@@ -1488,7 +1488,7 @@
        return NULL; /* no messages left to return */
      easy=multi->easy.next;
- while(easy) {
+ while(easy != &multi->easy) {
        if(easy->msg_num) {
          easy->msg_num--;
          break;
Received on 2007-03-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET