diff --git a/lib/urldata.h b/lib/urldata.h index ad6161dfa049653287e3c515cbd309ef29a369cf..d50f9e44ab241d0402832e50d56a3d87b99f6a7c 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -534,8 +534,8 @@ struct Curl_transfer_keeper { 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 - means unlimited */ + 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 */ /** End of HandleData struct copies **/