]> granicus.if.org Git - curl/commitdiff
CURLOPT_HEADERFUNCTION.3: match parameter name in synopsis and desc
authorDaniel Stenberg <daniel@haxx.se>
Mon, 20 Apr 2015 21:39:04 +0000 (23:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 20 Apr 2015 21:40:40 +0000 (23:40 +0200)
Bug: https://github.com/bagder/curl/issues/229
Reported-by: bsammon
docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3

index 4268f22b8ba372cbac76c108e6c6f329e99c12cc..f8ed0ab8a44beb846e927dc6e9e8a381ed87787f 100644 (file)
@@ -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