curl-users
Re: Parameters in CURLOPT_WRITEFUNCTION:
Date: Mon, 2 Mar 2009 08:00:11 -0800 (PST)
--- On Mon, 3/2/09, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> You're obviously using the library so I would strongly
> recommend that you use the curl-library mailing list
> instead!
>
Whoops. Sorry. Wasn't aware of the difference. I have put in for a subscription to the curl-library ml.
> It doesn't take anything particular into
> "account", it just tells you the size of the data
> and it uses the same argument set that fwrite() offers which
> is why it uses two arguments to specify the size.
>
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.
-------------------------------------------------------------------
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.html
Received on 2009-03-02