diff options
-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; } |