1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

maxdownload is actually -1 for unlimited

This commit is contained in:
Daniel Stenberg 2007-02-16 15:27:49 +00:00
parent 059b57677c
commit dca8f962e0

View 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 */