From dca8f962e07365fcd87f527da32476c157db109b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Feb 2007 15:27:49 +0000 Subject: maxdownload is actually -1 for unlimited --- lib/urldata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/urldata.h b/lib/urldata.h index c6d861621..ad6161dfa 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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 */ -- cgit v1.2.3