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
1 changed files with 1 additions and 1 deletions

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