From: Viktor Szakats Date: Wed, 14 Jan 2026 01:07:23 +0000 (+0100) Subject: badwords: fix typos found X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2949faa93c94a624256f46b42f2dfbbee7d56fdb;p=thirdparty%2Fcurl.git badwords: fix typos found Not caught in CI. Closes #20308 --- diff --git a/docs/HSTS.md b/docs/HSTS.md index 85140ab30f..33948bb3e6 100644 --- a/docs/HSTS.md +++ b/docs/HSTS.md @@ -36,9 +36,9 @@ Lines starting with `#` are ignored. For each hsts entry: - [host name] "YYYYMMDD HH:MM:SS" + [hostname] "YYYYMMDD HH:MM:SS" -The `[host name]` is dot-prefixed if it includes subdomains. +The `[hostname]` is dot-prefixed if it includes subdomains. The time stamp is when the entry expires. diff --git a/docs/MANUAL.md b/docs/MANUAL.md index c52e231bdc..5ee3aa9f7b 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -594,7 +594,7 @@ line parameter, like: Force curl to get and display a local help page in case it is invoked without URL by making a config file similar to: - # default url to get + # default URL to get url = "https://help.with.curl.example.com/curlhelp.html" You can specify another config file to be read by using the `-K`/`--config` diff --git a/docs/TheArtOfHttpScripting.md b/docs/TheArtOfHttpScripting.md index bab52cca47..8af6efa6cb 100644 --- a/docs/TheArtOfHttpScripting.md +++ b/docs/TheArtOfHttpScripting.md @@ -385,7 +385,7 @@ SPDX-License-Identifier: curl To tell curl to use a user and password for authentication: - curl --user name:password https://www.example.com + curl --user myname:password https://www.example.com ## Other Authentication diff --git a/docs/libcurl/curl_mime_filename.md b/docs/libcurl/curl_mime_filename.md index d52ce739e0..d54f36032b 100644 --- a/docs/libcurl/curl_mime_filename.md +++ b/docs/libcurl/curl_mime_filename.md @@ -68,7 +68,7 @@ int main(void) /* send image data from memory */ curl_mime_data(part, imagebuf, sizeof(imagebuf)); - /* set a file name to make it look like a file upload */ + /* set a filename to make it look like a file upload */ curl_mime_filename(part, "image.png"); /* set name */ diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4 index 96248ddc25..6ff52cc1b4 100644 --- a/docs/libcurl/libcurl.m4 +++ b/docs/libcurl/libcurl.m4 @@ -46,7 +46,7 @@ # variables $libcurl_feature_xxx and $libcurl_protocol_yyy are also # defined to 'yes' for those features and protocols that were found. # Note that xxx and yyy keep the same capitalization as in the -# curl-config list (e.g. it's "HTTP" and not "http"). +# curl-config list (e.g. it is "HTTP" and not "http"). # # Users may override the detected values by doing something like: # LIBCURL="-lcurl" LIBCURL_CPPFLAGS="-I/usr/myinclude" ./configure diff --git a/docs/libcurl/opts/CURLOPT_COOKIELIST.md b/docs/libcurl/opts/CURLOPT_COOKIELIST.md index 5124a53e64..29ee3dfb86 100644 --- a/docs/libcurl/opts/CURLOPT_COOKIELIST.md +++ b/docs/libcurl/opts/CURLOPT_COOKIELIST.md @@ -98,7 +98,7 @@ int main(void) /* The list of cookies in cookies.txt are not be imported until right before a transfer is performed. Cookies in the list that have the same hostname, path and name as in my_cookie are skipped. That is because - libcurl has already imported my_cookie and it's considered a "live" + libcurl has already imported my_cookie and it is considered a "live" cookie. A live cookie is not replaced by one read from a file. */ curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "cookies.txt"); /* import */ diff --git a/docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md b/docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md index 1e307af313..3feee962e4 100644 --- a/docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md +++ b/docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md @@ -74,7 +74,7 @@ int main(void) curl_easy_setopt(curl, CURLOPT_DOH_URL, "https://cloudflare-dns.com/dns-query"); - /* Disable host name verification of the DoH server */ + /* Disable hostname verification of the DoH server */ curl_easy_setopt(curl, CURLOPT_DOH_SSL_VERIFYHOST, 0L); curl_easy_perform(curl); diff --git a/docs/libcurl/opts/CURLOPT_HTTPPOST.md b/docs/libcurl/opts/CURLOPT_HTTPPOST.md index e45538b762..526f1d9e41 100644 --- a/docs/libcurl/opts/CURLOPT_HTTPPOST.md +++ b/docs/libcurl/opts/CURLOPT_HTTPPOST.md @@ -61,7 +61,7 @@ int main(void) struct curl_httppost *lastptr; /* Fill in the file upload field. This makes libcurl load data from - the given file name when curl_easy_perform() is called. */ + the given filename when curl_easy_perform() is called. */ curl_formadd(&formpost, &lastptr, CURLFORM_COPYNAME, "sendfile", diff --git a/docs/libcurl/opts/CURLOPT_NOPROXY.md b/docs/libcurl/opts/CURLOPT_NOPROXY.md index 40f3d4cc65..8c0b45edcd 100644 --- a/docs/libcurl/opts/CURLOPT_NOPROXY.md +++ b/docs/libcurl/opts/CURLOPT_NOPROXY.md @@ -77,7 +77,7 @@ int main(void) curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/"); /* use this proxy */ curl_easy_setopt(curl, CURLOPT_PROXY, "http://proxy.example:80"); - /* ... but make sure this host name is not proxied */ + /* ... but make sure this hostname is not proxied */ curl_easy_setopt(curl, CURLOPT_NOPROXY, "www.example.com"); curl_easy_perform(curl); } diff --git a/tests/http/testenv/curl.py b/tests/http/testenv/curl.py index 07430d000b..129abf0ec4 100644 --- a/tests/http/testenv/curl.py +++ b/tests/http/testenv/curl.py @@ -526,7 +526,7 @@ class ExecResult: } # stat keys where we expect a positive value ref_tl = [] - # time_queue has it's own start timestamp. Other timers start *after* + # time_queue has its own start timestamp. Other timers start *after* # queueing is done. queue duration might therefore be anywhere. somewhere_keys = ['time_queue'] exact_match = True