From f3f7d37c1dafd5ae6b2a4665cccafe28d6bd18fe Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Mar 2015 17:25:39 +0100 Subject: CURLOPT_HEADERFUNCTION.3: typo in error code name Reported-by: Jonathan Cardoso --- docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3') diff --git a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 index b6100f253..6c17d3150 100644 --- a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -46,7 +46,7 @@ terminated! The pointer named \fIuserdata\fP is the one you set with the number of bytes actually taken care of. If that amount differs from the amount passed in to your function, it'll signal an error to the library. This will cause the transfer to get aborted and the libcurl function in progress will -return \fICURL_WRITE_ERROR\fP. +return \fICURLE_WRITE_ERROR\fP. A complete HTTP header that is passed to this function can be up to \fICURL_MAX_HTTP_HEADER\fP (100K) bytes. -- cgit v1.2.3