curl-library
Re: CURLOPT_MAX_RECV_SPEED_LARGE not working
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 May 2009 22:35:48 +0200 (CEST)
Date: Thu, 14 May 2009 22:35:48 +0200 (CEST)
On Wed, 13 May 2009, Joaquim Pedro França Simão wrote:
> curl_easy_setopt(image, CURLOPT_MAX_RECV_SPEED_LARGE, 10);
You probably need to typecast that 10 to a curl_off_t type for that to work:
curl_easy_setopt(image, CURLOPT_MAX_RECV_SPEED_LARGE, (curl_off_t)10);
-- / daniel.haxx.seReceived on 2009-05-14