]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libcurl-errors.3: clarify two CURLUcode errors
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Aug 2021 06:38:32 +0000 (08:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Aug 2021 07:01:34 +0000 (09:01 +0200)
CURLUE_BAD_HANDLE and CURLUE_BAD_PARTPOINTER should be for "bad" or
wrong pointers in a generic sense, not just for NULL pointers.

Reviewed-by: Jay Satiro
Ref: #7605
Closes #7611

docs/libcurl/libcurl-errors.3

index fefb0ee624e585b12a2c43e83d58b536c7fdf4b0..707503f4ebf56ed4e8604eb25cd24aa595927055 100644 (file)
@@ -326,9 +326,9 @@ The requested sharing could not be done because the library you use don't have
 that particular feature enabled. (Added in 7.23.0)
 .SH "CURLUcode"
 .IP "CURLUE_BAD_HANDLE (1)"
-An argument that should be a CURLU pointer was passed in as a NULL.
+An invalid CURLU pointer was passed as argument.
 .IP "CURLUE_BAD_PARTPOINTER (2)"
-A NULL pointer was passed to the 'part' argument of \fIcurl_url_get(3)\fP.
+An invalid 'part' argument was passed as argument.
 .IP "CURLUE_MALFORMED_INPUT (3)"
 A malformed input was passed to a URL API function.
 .IP "CURLUE_BAD_PORT_NUMBER (4)"