aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-23 16:11:57 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-23 16:11:57 +0100
commitfc5d783589268b7ee66a80173c48e940015b1787 (patch)
tree66d6c266607c3db0881e21147b537c26e0deece2
parent98acebb5261eb3b272dd74145081f729d032d691 (diff)
CURLOPT_HEADERFUNCTION.3: fix typo
Refer to _HEADERDATA not _WRITEDATA. Reported-by: MichaƂ Piechowski
-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 f8ed0ab8a..7cebb0174 100644
--- a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3
@@ -85,7 +85,7 @@ static size_t header_callback(char *buffer, size_t size,
size_t nitems, void *userdata)
{
/* received header is nitems * size long in 'buffer' NOT ZERO TERMINATED */
- /* 'userdata' is set with CURLOPT_WRITEDATA */
+ /* 'userdata' is set with CURLOPT_HEADERDATA */
return nitems * size;
}