curl-library
[Patch] Fix documentation of CURLOPT_HEADERFUNCTION
From: Julien Chaffraix <julien.chaffraix_at_gmail.com>
Date: Mon, 22 Feb 2010 07:51:56 -0800
Received on 2010-02-22
Date: Mon, 22 Feb 2010 07:51:56 -0800
Hi curl hackers,
it was mentioned some time ago (I could not find the relevant thread)
that the manpage of CURLOPT_HEADERFUNCTION advises to return -1. But
the return type is unsigned which is obviously wrong.
The attached patch makes both CURLOPT_HEADERFUNCTION and
CURLOPT_WRITEFUNCTION more consistent and tweaks a little bit the
wordings.
Comments are welcome.
Thanks and regards,
Julien
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-patch attachment: curl_headerfunction_fix.diff