]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: fix various typos
authorAlexander Jaeger <mail@alexanderjaeger.de>
Tue, 1 Aug 2023 09:19:58 +0000 (09:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 1 Aug 2023 12:09:32 +0000 (14:09 +0200)
Closes #11561

docs/cmdline-opts/page-header
docs/examples/connect-to.c
scripts/checksrc.pl
tests/runner.pm
tests/runtests.1
tests/servers.pm

index 2d15a8eef78aa2d8beaea29c48605de9f6fb8997..06a24a045096c5ecf63917b13ab274f3951ad7f0 100644 (file)
@@ -129,7 +129,7 @@ function to a variable expansion, add them colon separated to the right side
 of the variable. Variable content holding null bytes that are not encoded when
 expanded, will cause error.
 
-Exmaple: get the contents of a file called $HOME/.secret into a variable
+Example: get the contents of a file called $HOME/.secret into a variable
 called "fix". Make sure that the content is trimmed and percent-encoded sent
 as POST data:
 
index 21f59b2f508dfc96928c640241c9c633dac274f4..fcdd2cc4ff7d7a2ab2b71aedd6a9b672d28b6610 100644 (file)
@@ -55,7 +55,7 @@ int main(void)
        returns CURLE_PEER_FAILED_VERIFICATION */
     curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
 
-    /* Letting the wrong host name in the certficate be okay, the transfer
+    /* Letting the wrong host name in the certificate be okay, the transfer
        goes through but will (most likely) cause a 404 or similar because it
        sends an unknown name in the Host: header field */
     res = curl_easy_perform(curl);
index c44dbce37a0b7b77470fee48c022248eaebfe756..b08b4ffc8b1dee8bd706f659bca7d7b75100a10e 100755 (executable)
@@ -532,7 +532,7 @@ sub scanfile {
             }
             elsif(($first eq "*") && ($word !~ /(for|if|while|switch)/)) {
                 # A "(*" beginning makes the space OK because it wants to
-                # allow funcion pointer declared
+                # allow function pointer declared
             }
             elsif($1 =~ / *typedef/) {
                 # typedefs can use space-paren
index b1fe1854b0e068ab48eeabc16b53e5456527a0f4..bb0934c06b8dba0771a88616993905272c51fbc5 100644 (file)
@@ -1363,7 +1363,7 @@ sub ipcrecv {
     # Decode the function name and arguments
     my $argsarrayref = thaw $buf;
 
-    # The name of the function to call is the frist argument
+    # The name of the function to call is the first argument
     my $funcname = shift @$argsarrayref;
 
     # print "ipcrecv $funcname\n";
index e2a6ad30953df9a29c3833ebb4b472c5a4a4f92b..571e5ce0622de12ca57f4a4d34aa2dd3421c9263 100644 (file)
@@ -66,7 +66,7 @@ Provide a path to a custom curl binary to run the tests with. Default is the
 curl executable in the build tree.
 .IP "-d"
 Enable protocol debug: have the servers display protocol output.  If used in
-conjuction with parallel testing, it will be difficult to associate the logs
+conjunction with parallel testing, it will be difficult to associate the logs
 with the test being run.
 .IP "-E <exclude_file>"
 Load the \fBexclude_file\fP with additional reasons why certain tests
@@ -170,7 +170,7 @@ combination with \fI-g\fP.
 .IP "-u"
 Error instead of warning on server unexpectedly alive.
 .IP "-v"
-Enable verbose output. Speaks more than by default. If used in conjuction with
+Enable verbose output. Speaks more than by default. If used in conjunction with
 parallel testing, it will be difficult to associate the logs with the test
 being run.
 .IP "-vc <curl>"
index d6f96f42b71caeaba230e0b0df60d8421bf9dad3..00753090f3fe7b8ae70b478bb4dd8324151f8fed 100644 (file)
@@ -1845,7 +1845,7 @@ sub runsshserver {
         stopserver($server, "$sshpid $pid2");
         $doesntrun{$pidfile} = 1;
         $sshpid = $pid2 = 0;
-        logmsg "RUN: failed to verifty the $srvrname server on $port\n";
+        logmsg "RUN: failed to verify the $srvrname server on $port\n";
         return (5, 0, 0, 0);
     }
     # we're happy, no need to loop anymore!