curl-users
Re: Parameters in CURLOPT_WRITEFUNCTION:
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 2 Mar 2009 21:07:39 -0700
Date: Mon, 2 Mar 2009 21:07:39 -0700
On Mon, Mar 02, 2009 at 08:00:11AM -0800, Honey Dont wrote:
> Okay. Thanks for this. It makes the function a lot more clear now. But, I can't think of a situation where the size would be more than 1 for what curl is doing.
As of today, libcurl always sets it to 1. It's that way strictly to be compatible with
fwrite.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-03-03