]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: fix typos
authorRainRat <rainrat78@yahoo.ca>
Wed, 10 Apr 2024 07:36:10 +0000 (00:36 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Apr 2024 13:44:22 +0000 (15:44 +0200)
Closes #13344

12 files changed:
docs/FAQ
docs/examples/simplessl.c
lib/cfilters.c
lib/cfilters.h
lib/multi.c
lib/rtsp.c
lib/vtls/openssl.c
packages/vms/setup_gnv_curl_build.com
scripts/checksrc.pl
tests/http/README.md
tests/libtest/lib506.c
tests/libtest/lib586.c

index 1450a1e754784959d80ca1d1427a902d3655f75a..0303a262a81cfd16b73a57fb1e9fcc1c60d2bdca 100644 (file)
--- 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.
 
index 7145493a6928d4d52d452573658b67254961c4f2..c5087d9d43885046c9b7b39da978aafec7e0f2d0 100644 (file)
@@ -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;
         }
index 32329cfb448f5f223f71767344dd140e5b07828f..21ef899a800280dc5f1ca3c61198c4e49b0e5200 100644 (file)
@@ -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)
 {
index 2d6c7b6afb81068e142ec435a349c14d5c70bbe2..248274b713d3da8f4c1770ac3d1c6ff23b456e9d 100644 (file)
@@ -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);
 
index 55c6dfc8b9e4936b7d08cf26f26310ee539bba03..02f553b39c8501b449687fa5969027cef9fcba79 100644 (file)
@@ -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;
index ab7fda4c06368b471d4b25b842bc0888230591e4..89fe4bbb8529d565d1a992aca9a421f554d44952 100644 (file)
@@ -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)
index 36a1eb5a41cd8b63afaa5d27b4527eb190a8f975..0c5660f6cf3574397039255afbee2dc976aa1286 100644 (file)
@@ -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;
index 8404ec3c053a0cda435ebba5e4726598812b2e81..1685b6a2f48aac842b7272a838a9a91204679095 100644 (file)
@@ -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]
index be085e0613007914a8222da1187727478b5079b9..4fc7f1b525042cc5e30cac66fddca843baf4c8a8 100755 (executable)
@@ -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
index 5e88cbbc2bc60e9b00e19709795bfd00485db084..3e29d5b80e81c1ea71ec55364f69c48471347d92 100644 (file)
@@ -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.
 
index dd4759ac452604c577be1e0d8484cfa2fb3485c8..075babec59b57e33acc8af1567274d4062cddca4 100644 (file)
@@ -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) {
index f6e60773777d202d388c86d758a23f7e4d65e4c7..00af3341563bc22f426e11b0ee5834d42d5438fc 100644 (file)
@@ -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) {