diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-02-03 13:04:30 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-02-04 08:05:35 +0100 |
commit | 2610142139d14265ed9acf9ed83cdf73d6bb4d05 (patch) | |
tree | fb83a4f0e215d7fc51d0f2a343854126524fcff3 /lib/urlapi.c | |
parent | da15443dddea2bfb5877f4ab8bea61deaa56b856 (diff) | |
download | curl-2610142139d14265ed9acf9ed83cdf73d6bb4d05.tar.gz |
lib: remove support for CURL_DOES_CONVERSIONS
TPF was the only user and support for that was dropped.
Closes #8378
Diffstat (limited to 'lib/urlapi.c')
-rw-r--r-- | lib/urlapi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/urlapi.c b/lib/urlapi.c index 66d6bf487..ebbc37f28 100644 --- a/lib/urlapi.c +++ b/lib/urlapi.c @@ -804,8 +804,7 @@ static CURLUcode decode_host(char *hostname, char **outp) else { /* might be encoded */ size_t dlen; - CURLcode result = Curl_urldecode(NULL, hostname, 0, - outp, &dlen, REJECT_CTRL); + CURLcode result = Curl_urldecode(hostname, 0, outp, &dlen, REJECT_CTRL); if(result) return CURLUE_BAD_HOSTNAME; } @@ -1420,8 +1419,7 @@ CURLUcode curl_url_get(CURLU *u, CURLUPart what, size_t dlen; /* this unconditional rejection of control bytes is documented API behavior */ - CURLcode res = Curl_urldecode(NULL, *part, 0, &decoded, &dlen, - REJECT_CTRL); + CURLcode res = Curl_urldecode(*part, 0, &decoded, &dlen, REJECT_CTRL); free(*part); if(res) { *part = NULL; |