]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: spelling improvements
authorFabian Keil <fk@fabiankeil.de>
Sat, 27 Mar 2021 04:03:00 +0000 (05:03 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 5 Jun 2022 10:15:23 +0000 (12:15 +0200)
Closes #8956

docs/libcurl/opts/CURLOPT_PORT.3
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.3
lib/altsvc.c
lib/transfer.c
tests/data/test373
tests/server/sws.c

index a5a065617de4e515e1a68c4b706f9cb905276f4b..45a90d70f1479d29bedd0acebe3e19ca5dddfaa4 100644 (file)
@@ -30,7 +30,7 @@ CURLOPT_PORT \- remote port number to connect to
 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PORT, long number);
 .fi
 .SH DESCRIPTION
-We discourage using this option since it's scope is not obvious and hard to
+We discourage using this option since its scope is not obvious and hard to
 predict. Set the preferred port number in the URL instead.
 
 This option sets \fInumber\fP to be the remote port number to connect to,
index c5a16a3d9613934d664196b93f1f840c51802df9..be6563ff8ee3ee33e3b92155c062c11cae9eba51 100644 (file)
@@ -50,9 +50,9 @@ enum.
 The callback MUST return one of the following return codes to tell libcurl how
 to act:
 .IP CURLKHMATCH_OK
-The hostkey is accepted, the connexion should continue.
+The hostkey is accepted, the connection should continue.
 .IP CURLKHMATCH_MISMATCH
-the hostkey is rejected, the connexion is canceled.
+the hostkey is rejected, the connection is canceled.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index f5aee73a1a281101e82021135ce0e2171b0019f8..f6fa37d83691d5390d29c2bc9bc32631eaa4e3a8 100644 (file)
@@ -186,7 +186,7 @@ static CURLcode altsvc_add(struct altsvcinfo *asi, char *line)
  * Load alt-svc entries from the given file. The text based line-oriented file
  * format is documented here: https://curl.se/docs/alt-svc.html
  *
- * This function only returns error on major problems that prevents alt-svc
+ * This function only returns error on major problems that prevent alt-svc
  * handling to work completely. It will ignore individual syntactical errors
  * etc.
  */
index 01f764ac50cf93a3acce249e24149e7f8c7389d5..5367c0384817297a99f9411adfb5322a4da18bbf 100644 (file)
@@ -1570,7 +1570,7 @@ CURLcode Curl_follow(struct Curl_easy *data,
           data->state.referer_alloc = FALSE;
         }
 
-        /* Make a copy of the URL without crenditals and fragment */
+        /* Make a copy of the URL without credentials and fragment */
         u = curl_url();
         if(!u)
           return CURLE_OUT_OF_MEMORY;
index 753247fd8a28bafd2c7509d302bd01dc8b58c0fb..b11f227f20f20fea09f4f2c5b534f79f697a3742 100644 (file)
@@ -53,7 +53,7 @@ X-Control: swsclose
 http
 </server>
 <name>
-Chunked transfer encoding - Multple valid chunks with binary zeros.
+Chunked transfer encoding - Multiple valid chunks with binary zeros.
 </name>
 <features>
 proxy
index 19c5f37f5ffeca28708d51055c6fbd1b2e67736f..d51dd604a0cb2b3c382c653ff2bb6ef99211cd90 100644 (file)
@@ -879,7 +879,7 @@ static int get_request(curl_socket_t sock, struct httprequest *req)
   else {
     if(req->skip)
       /* we are instructed to not read the entire thing, so we make sure to
-         only read what we're supposed to and NOT read the enire thing the
+         only read what we're supposed to and NOT read the entire thing the
          client wants to send! */
       got = sread(sock, reqbuf + req->offset, req->cl);
     else