]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: fix spelling
authorJohn Bampton <jbampton@gmail.com>
Wed, 28 May 2025 21:31:57 +0000 (07:31 +1000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 May 2025 08:21:05 +0000 (10:21 +0200)
Closes #17479

lib/multi.c
lib/multi_ev.c
lib/smtp.c
lib/uint-table.h
lib/url.c
lib/vquic/curl_osslq.c
packages/OS400/README.OS400
tests/http/test_01_basic.py
tests/http/test_10_proxy.py

index b744e03ae52f08d3510ca0f2d82e4d336eb42585..64eb1ae8540e013ab1fb134d5332681ebcd0e0c0 100644 (file)
@@ -3182,7 +3182,7 @@ static CURLMcode multi_timeout(struct Curl_multi *multi,
 
     /* splay the lowest to the bottom */
     multi->timetree = Curl_splay(tv_zero, multi->timetree);
-    /* this will not return NULL from a non-emtpy tree, but some compilers
+    /* this will not return NULL from a non-empty tree, but some compilers
      * are not convinced of that. Analyzers are hard. */
     *expire_time = multi->timetree ? multi->timetree->key : tv_zero;
 
index 6d01cca2a7851d4fb6a4847bf040ab81518ee70d..21d28676195fce89a7580c6cc44ca008dcff4309 100644 (file)
@@ -303,7 +303,7 @@ static CURLMcode mev_pollset_diff(struct Curl_multi *multi,
   CURLMcode mresult;
 
   /* The transfer `data` reports in `ps` the sockets it is interested
-   * in and which combinatino of CURL_POLL_IN/CURL_POLL_OUT it wants
+   * in and which combination of CURL_POLL_IN/CURL_POLL_OUT it wants
    * to have monitored for events.
    * There can be more than 1 transfer interested in the same socket
    * and 1 transfer might be interested in more than 1 socket.
index cccb9f381ab0eab5b51852259eef8301cc269616..fbab5401f859ca55a168c2e915932ef7852a78d9 100644 (file)
@@ -483,7 +483,7 @@ static CURLcode smtp_perform_upgrade_tls(struct Curl_easy *data,
            result, ssldone));
   if(!result && ssldone) {
     smtpc->ssldone = ssldone;
-    /* perform EHLO now, changes smpt->state out of SMTP_UPGRADETLS */
+    /* perform EHLO now, changes smtp->state out of SMTP_UPGRADETLS */
     result = smtp_perform_ehlo(data, smtpc);
   }
 out:
index 2d8e86498a84ef29af968440773428243f27dea7..2c05b1de1ab9a5ef23ef0a31fd58a70b64da8bb0 100644 (file)
@@ -34,7 +34,7 @@ struct uint_tbl {
   void **rows;  /* array of void* holding entries */
   Curl_uint_tbl_entry_dtor *entry_dtor;
   unsigned int nrows;  /* length of `rows` array */
-  unsigned int nentries; /* entris in table */
+  unsigned int nentries; /* entries in table */
   unsigned int last_key_added; /* UINT_MAX or last key added */
 #ifdef DEBUGBUILD
   int init;
index dac24b35e75113eb3feb2024fe96404efec7b260..10e37ec67f43151167affca73e6cb1ce4a949c5e 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -1135,7 +1135,7 @@ static bool url_match_destination(struct connectdata *conn,
       /* We are in an IMAPS vs IMAP like case. We expect `conn` to have SSL */
       if(!Curl_conn_is_ssl(conn, FIRSTSOCKET)) {
         DEBUGF(infof(m->data,
-          "Connection #%" FMT_OFF_T " has compatible protocol famiy, "
+          "Connection #%" FMT_OFF_T " has compatible protocol family, "
           "but no SSL, no match", conn->connection_id));
         return FALSE;
       }
index f942eef843ec58937f6e5d3f6acf7bfdf7c711e4..d5af10b06b283ff95feecc833ac4c1c331e8cd40 100644 (file)
@@ -2370,7 +2370,7 @@ static CURLcode cf_osslq_query(struct Curl_cfilter *cf,
 #else
     *pres1 = 100;
 #endif
-    CURL_TRC_CF(data, cf, "query max_conncurrent -> %d", *pres1);
+    CURL_TRC_CF(data, cf, "query max_concurrent -> %d", *pres1);
     return CURLE_OK;
   }
   case CF_QUERY_CONNECT_REPLY_MS:
index 51bd26fb10a8c0583e349e93fb147e93e3cd6e11..41bd24237fa48bd4a0a1711cda0e7c05ae1b0a58 100644 (file)
@@ -127,7 +127,7 @@ options:
         CURLOPT_SSLKEYTYPE
         CURLOPT_SSL_CIPHER_LIST
         CURLOPT_SSL_EC_CURVES
-        CURLOPT_SSL_SIGNATURE_ALGORIHMS
+        CURLOPT_SSL_SIGNATURE_ALGORITHMS
         CURLOPT_TLS13_CIPHERS
         CURLOPT_TLSAUTH_PASSWORD
         CURLOPT_TLSAUTH_TYPE
@@ -269,7 +269,7 @@ _ As a prerequisite, QADRT development environment must be installed.
 _ If data compression has to be supported, ZLIB development environment must
   be installed.
 _ Likewise, if SCP and SFTP protocols have to be compiled in, LIBSSH2
-  developent environment must be installed.
+  development environment must be installed.
 _ Install the curl source directory in IFS. Do NOT install it in the
   installation target directory (which defaults to /curl).
 _ Enter Qshell (QSH, not PASE)
index dd593af8ea56f6d61238a6a2376b384c892c1403..4ac4e8e6e1e891b29fa0ccbf03579b03d4a34afc 100644 (file)
@@ -109,7 +109,7 @@ class TestBasic:
         r.check_stats(http_status=200, count=1, exitcode=0,
                       remote_port=env.port_for(alpn_proto=proto),
                       remote_ip='127.0.0.1')
-        # got the Conten-Length: header, but did not download anything
+        # got the Content-Length: header, but did not download anything
         assert r.responses[0]['header']['content-length'] == '30', f'{r.responses[0]}'
         assert r.stats[0]['size_download'] == 0, f'{r.stats[0]}'
 
@@ -149,7 +149,7 @@ class TestBasic:
     # http: large response headers
     # send 48KB+ sized response headers to check we handle that correctly
     # larger than 64KB headers expose a bug in Apache HTTP/2 that is not
-    # RSTing the stream correclty when its internal limits are exceeded.
+    # RSTing the stream correctly when its internal limits are exceeded.
     @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3'])
     def test_01_11_large_resp_headers(self, env: Env, httpd, proto):
         if proto == 'h3' and not env.have_h3():
index 59e56d583f5572e7a7a7842772c4e0f826da1afe..829cae3494366ff04d563ae1f7fe038fce7ea780 100644 (file)
@@ -229,7 +229,7 @@ class TestProxy:
         indata = open(srcfile).readlines()
         for i in range(count):
             respdata = open(curl.response_file(i)).readlines()
-            assert respdata == indata, f'resonse {i} differs'
+            assert respdata == indata, f'response {i} differs'
         assert r.total_connects == 1, r.dump_logs()
 
     @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")