curl-library
Re: CURLOPT_HEADERFUNCTION documentation and examples patches, now with actual patches!
From: Nikolai Kondrashov <Nikolai.Kondrashov_at_oktetlabs.ru>
Date: Sat, 24 May 2008 15:04:29 +0400
Date: Sat, 24 May 2008 15:04:29 +0400
Daniel Stenberg wrote:
The return code (for both read and write callbacks) should
> be the amount of data they have taken care of, which is exactly what
> read() and fwrite() etc typically already return.
Yes, read returns amount of bytes, but not so for fread/fwrite.
Sincerely,
Nick
Received on 2008-05-24