Commit dca8f962 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

maxdownload is actually -1 for unlimited

parent 059b5767
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */