From cf2d21d86f3b3d42cd1ccc8e3096f82825d3e781 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 20 Apr 2015 23:39:04 +0200 Subject: CURLOPT_HEADERFUNCTION.3: match parameter name in synopsis and desc Bug: https://github.com/bagder/curl/issues/229 Reported-by: bsammon --- docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 index 4268f22b8..f8ed0ab8a 100644 --- a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 @@ -39,7 +39,7 @@ shown above. This function gets called by libcurl as soon as it has received header data. The header callback will be called once for each header and only complete header lines are passed on to the callback. Parsing headers is very -easy using this. The size of the data pointed to by \fIptr\fP is \fIsize\fP +easy using this. The size of the data pointed to by \fIbuffer\fP is \fIsize\fP multiplied with \fInmemb\fP. Do not assume that the header line is zero terminated! The pointer named \fIuserdata\fP is the one you set with the \fICURLOPT_HEADERDATA(3)\fP option. This callback function must return the -- cgit v1.2.3