diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-11-23 16:11:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-11-23 16:11:57 +0100 |
commit | fc5d783589268b7ee66a80173c48e940015b1787 (patch) | |
tree | 66d6c266607c3db0881e21147b537c26e0deece2 /docs | |
parent | 98acebb5261eb3b272dd74145081f729d032d691 (diff) |
CURLOPT_HEADERFUNCTION.3: fix typo
Refer to _HEADERDATA not _WRITEDATA.
Reported-by: MichaĆ Piechowski
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 | 2 |
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; } |