From: RainRat Date: Wed, 10 Apr 2024 07:36:10 +0000 (-0700) Subject: misc: fix typos X-Git-Tag: curl-8_8_0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108793799281f2fee5bc3ce3785b50a63ad3fee4;p=thirdparty%2Fcurl.git misc: fix typos Closes #13344 --- diff --git a/docs/FAQ b/docs/FAQ index 1450a1e754..0303a262a8 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -407,7 +407,7 @@ FAQ The reason why static libraries is much harder to deal with is that for them we do not get any help but the script itself must know or check what more libraries that are needed (with shared libraries, that dependency "chain" is - handled automatically). This is a error-prone process and one that also + handled automatically). This is an error-prone process and one that also tends to vary over time depending on the release versions of the involved components and may also differ between operating systems. diff --git a/docs/examples/simplessl.c b/docs/examples/simplessl.c index 7145493a69..c5087d9d43 100644 --- a/docs/examples/simplessl.c +++ b/docs/examples/simplessl.c @@ -94,7 +94,7 @@ int main(void) if(curl_easy_setopt(curl, CURLOPT_SSLENGINE_DEFAULT, 1L) != CURLE_OK) { /* set the crypto engine as default */ /* only needed for the first time you load - a engine in a curl object... */ + an engine in a curl object... */ fprintf(stderr, "cannot set crypto engine as default\n"); break; } diff --git a/lib/cfilters.c b/lib/cfilters.c index 32329cfb44..21ef899a80 100644 --- a/lib/cfilters.c +++ b/lib/cfilters.c @@ -590,7 +590,7 @@ CURLcode Curl_conn_ev_data_idle(struct Curl_easy *data) /** * Notify connection filters that the transfer represented by `data` - * is donw with sending data (e.g. has uploaded everything). + * is done with sending data (e.g. has uploaded everything). */ void Curl_conn_ev_data_done_send(struct Curl_easy *data) { diff --git a/lib/cfilters.h b/lib/cfilters.h index 2d6c7b6afb..248274b713 100644 --- a/lib/cfilters.h +++ b/lib/cfilters.h @@ -451,7 +451,7 @@ CURLcode Curl_conn_ev_data_idle(struct Curl_easy *data); /** * Notify connection filters that the transfer represented by `data` - * is donw with sending data (e.g. has uploaded everything). + * is done with sending data (e.g. has uploaded everything). */ void Curl_conn_ev_data_done_send(struct Curl_easy *data); diff --git a/lib/multi.c b/lib/multi.c index 55c6dfc8b9..02f553b39c 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1352,7 +1352,7 @@ static CURLMcode multi_wait(struct Curl_multi *multi, /* 'nfds' is a 32 bit value and 'struct pollfd' is typically 8 bytes big, so at 2^29 sockets this value might wrap. When a process gets the capability to actually handle over 500 million sockets this - calculation needs a integer overflow check. */ + calculation needs an integer overflow check. */ ufds = malloc(nfds * sizeof(struct pollfd)); if(!ufds) return CURLM_OUT_OF_MEMORY; diff --git a/lib/rtsp.c b/lib/rtsp.c index ab7fda4c06..89fe4bbb85 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -805,7 +805,7 @@ static CURLcode rtsp_rtp_write_resp(struct Curl_easy *data, DEBUGF(infof(data, "rtsp_rtp_write_resp(len=%zu, in_header=%d, eos=%d)", blen, rtspc->in_header, is_eos)); - /* If header parsing is not onging, extract RTP messages */ + /* If header parsing is not ongoing, extract RTP messages */ if(!rtspc->in_header) { result = rtsp_filter_rtp(data, buf, blen, &consumed); if(result) diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 36a1eb5a41..0c5660f6cf 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2154,7 +2154,7 @@ CURLcode Curl_ossl_verifyhost(struct Curl_easy *data, struct connectdata *conn, #endif CURLcode result = CURLE_OK; bool dNSName = FALSE; /* if a dNSName field exists in the cert */ - bool iPAddress = FALSE; /* if a iPAddress field exists in the cert */ + bool iPAddress = FALSE; /* if an iPAddress field exists in the cert */ size_t hostlen; (void)conn; diff --git a/packages/vms/setup_gnv_curl_build.com b/packages/vms/setup_gnv_curl_build.com index 8404ec3c05..1685b6a2f4 100644 --- a/packages/vms/setup_gnv_curl_build.com +++ b/packages/vms/setup_gnv_curl_build.com @@ -102,7 +102,7 @@ $ define/job decc$system_include prj_root:[.include.curl],- gnv$zlib_include:,- sys$sysroot:[kerberos.include] $! -$! Set up a include list for the compiler to find all the header files +$! Set up an include list for the compiler to find all the header files $! that they need. $! $ define/job decc$user_include src_root:[.include.curl] diff --git a/scripts/checksrc.pl b/scripts/checksrc.pl index be085e0613..4fc7f1b525 100755 --- a/scripts/checksrc.pl +++ b/scripts/checksrc.pl @@ -923,7 +923,7 @@ sub scanfile { checkwarn("COPYRIGHT", 1, 0, $file, "", "Missing copyright statement", 1); } - # COPYRIGHTYEAR is a extended warning so we must first see if it has been + # COPYRIGHTYEAR is an extended warning so we must first see if it has been # enabled in .checksrc if(defined($warnings{"COPYRIGHTYEAR"})) { # The check for updated copyrightyear is overly complicated in order to diff --git a/tests/http/README.md b/tests/http/README.md index 5e88cbbc2b..3e29d5b80e 100644 --- a/tests/http/README.md +++ b/tests/http/README.md @@ -36,7 +36,7 @@ Depending on your setup, some test cases may be skipped and appear as `s` in the You will need: 1. a recent Python, the `cryptography` module and, of course, `pytest` -2. a apache httpd development version. On Debian/Ubuntu, the package `apache2-dev` has this. +2. an apache httpd development version. On Debian/Ubuntu, the package `apache2-dev` has this. 3. a local `curl` project build 3. optionally, a `nghttpx` with HTTP/3 enabled or h3 test cases will be skipped. diff --git a/tests/libtest/lib506.c b/tests/libtest/lib506.c index dd4759ac45..075babec59 100644 --- a/tests/libtest/lib506.c +++ b/tests/libtest/lib506.c @@ -278,7 +278,7 @@ int test(char *URL) } - /* fetch a another one and save cookies */ + /* fetch another one and save cookies */ printf("*** run %d\n", i); curl = curl_easy_init(); if(!curl) { diff --git a/tests/libtest/lib586.c b/tests/libtest/lib586.c index f6e6077377..00af334156 100644 --- a/tests/libtest/lib586.c +++ b/tests/libtest/lib586.c @@ -197,7 +197,7 @@ int test(char *URL) } - /* fetch a another one */ + /* fetch another one */ printf("*** run %d\n", i); curl = curl_easy_init(); if(!curl) {