From: Viktor Szakats Date: Wed, 8 Mar 2023 08:00:35 +0000 (+0000) Subject: misc: fix typos X-Git-Tag: curl-8_0_0~84 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75087c3baaa9e6cab4a22d867865211d73075b75;p=thirdparty%2Fcurl.git misc: fix typos Closes #10706 --- diff --git a/docs/libcurl/curl_url_get.3 b/docs/libcurl/curl_url_get.3 index ca10821498..9dc46231dc 100644 --- a/docs/libcurl/curl_url_get.3 +++ b/docs/libcurl/curl_url_get.3 @@ -96,7 +96,7 @@ anything outside the ASCII range. When asked to return the full URL, \fIcurl_url_get(3)\fP will return a normalized and possibly cleaned up version of what was previously parsed. -We advice using the \fICURLU_PUNYCODE\fP option to get the URL as "normalized" +We advise using the \fICURLU_PUNYCODE\fP option to get the URL as "normalized" as possible since IDN allows host names to be written in many different ways that still end up the same punycode version. .IP CURLUPART_SCHEME diff --git a/lib/setopt.c b/lib/setopt.c index 24d4897a12..20711334ba 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -899,7 +899,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param) case CURL_HTTP_VERSION_NONE: #ifdef USE_HTTP2 /* TODO: this seems an undesirable quirk to force a behaviour on - * lower implementations that they should recognize independantly? */ + * lower implementations that they should recognize independently? */ arg = CURL_HTTP_VERSION_2TLS; #endif /* accepted */ diff --git a/lib/vquic/curl_ngtcp2.c b/lib/vquic/curl_ngtcp2.c index a52766890e..4ff87ae5dc 100644 --- a/lib/vquic/curl_ngtcp2.c +++ b/lib/vquic/curl_ngtcp2.c @@ -953,7 +953,7 @@ static int cb_h3_stream_close(nghttp3_conn *conn, int64_t stream_id, } /* - * write_resp_raw() copies resonse data in raw format to the `data`'s + * write_resp_raw() copies response data in raw format to the `data`'s * receive buffer. If not enough space is available, it appends to the * `data`'s overflow buffer. */