cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_RANGE reset for ftp bugfix

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 16 Feb 2007 16:18:21 +0100 (CET)

On Fri, 16 Feb 2007, Michal Marek wrote:

> BTW in lib/urldata.h, there is
>
> curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, 0
> means unlimited */
>
> Shouldn't this be "-1 means unlimited" or am I not getting it again?

You're right, the comment is wrong and should be fixed. Thanks!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-02-16