]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
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 c6d86162186fe9050ae75935ad5dfe9c6c1aee42..ad6161dfa049653287e3c515cbd309ef29a369cf 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 */