curl-library
Re: How to limit rate with libcurl?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Dec 2006 09:41:07 +0100 (CET)
Date: Fri, 8 Dec 2006 09:41:07 +0100 (CET)
On Fri, 8 Dec 2006, Jick Nan wrote:
> But it still can't work corectly...
Hm, this happens because the application has a different idea about what
curl_off_t is than what the lib was built with.
You can most likely work-around this problem by adding:
#define _FILE_OFFSET_BITS 64
in your curl.c file before all includes and then I think it works.
It certainly calls for some kind of fix, but I'm not entirelly sure just how
at this point.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-12-08