From: Daniel Stenberg Date: Sun, 16 Apr 2023 15:04:39 +0000 (+0200) Subject: curl_easy_unescape.3: rename the argument X-Git-Tag: curl-8_1_0~130 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb1d62ff0736961032a489a0a8bff4b79b13eccb;p=thirdparty%2Fcurl.git curl_easy_unescape.3: rename the argument and highlight it appropriately in the text. Closes #10979 --- diff --git a/docs/libcurl/curl_easy_unescape.3 b/docs/libcurl/curl_easy_unescape.3 index 8d85a1e9a0..3bf02050bf 100644 --- a/docs/libcurl/curl_easy_unescape.3 +++ b/docs/libcurl/curl_easy_unescape.3 @@ -29,14 +29,14 @@ curl_easy_unescape - URL decodes the given string .nf #include -char *curl_easy_unescape(CURL *curl, const char *url, +char *curl_easy_unescape(CURL *curl, const char *input, int inlength, int *outlength); .fi .SH DESCRIPTION -This function converts the given URL encoded input string to a "plain string" -and returns that in an allocated memory area. All input characters that are -URL encoded (%XX where XX is a two-digit hexadecimal number) are converted to -their binary versions. +This function converts the given URL encoded \fBinput\fP string to a "plain +string" and returns that in an allocated memory area. All input characters +that are URL encoded (%XX where XX is a two-digit hexadecimal number) are +converted to their binary versions. If the \fBlength\fP argument is set to 0 (zero), \fIcurl_easy_unescape(3)\fP will use strlen() on the input \fIurl\fP string to find out the size.