maxdownload is actually -1 for unlimited
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Feb 2007 15:27:49 +0000 (15:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Feb 2007 15:27:49 +0000 (15:27 +0000)
lib/urldata.h

index c6d8616..ad6161d 100644 (file)
@@ -656,7 +656,7 @@ struct HandleData {
   curl_off_t size;        /* -1 if unknown at this point */
   curl_off_t *bytecountp; /* return number of bytes read or NULL */
 
-  curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, 0
+  curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, -1
                              means unlimited */
   curl_off_t *writebytecountp; /* return number of bytes written or NULL */