summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-20 23:39:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-20 23:40:40 +0200
commitcf2d21d86f3b3d42cd1ccc8e3096f82825d3e781 (patch)
tree97dd24271503952d1074f062e7743504446c8b8a
parent875a6d9324d9953fee6d55c267b870b93387c56d (diff)
downloadcurl-cf2d21d86f3b3d42cd1ccc8e3096f82825d3e781.tar.gz
CURLOPT_HEADERFUNCTION.3: match parameter name in synopsis and desc
Bug: https://github.com/bagder/curl/issues/229 Reported-by: bsammon
-rw-r--r--docs/libcurl/opts/CURLOPT_HEADERFUNCTION.32
1 files changed, 1 insertions, 1 deletions
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