]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: fix grammar and spelling
authorJohn Bampton <jbampton@gmail.com>
Thu, 22 Dec 2022 14:22:11 +0000 (00:22 +1000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Dec 2022 17:07:07 +0000 (18:07 +0100)
Closes #10137

docs/cmdline-opts/dump-header.d
lib/CMakeLists.txt
lib/cfilters.c
lib/ftp.c
src/tool_operate.c

index 3e39f600733115a1ad1ca78aefab8bfe4005fb9b..5144fdf38d2759f4b92f6f3bf7af53b39d682234 100644 (file)
@@ -18,4 +18,4 @@ When used in FTP, the FTP server response lines are considered being "headers"
 and thus are saved there.
 
 Having multiple transfers in one set of operations (i.e. the URLs in one
---next clause), will append them to the same file, seperated by a blank line.
+--next clause), will append them to the same file, separated by a blank line.
index 5ca5357d9bf949bfaf77fb07bfdc46da6bf2a426..316e7ecd4e17969b22ee2b423356f3a9c5339d69 100644 (file)
@@ -112,7 +112,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX" OR
 
   # FreeBSD comes with the a.out and elf flavours
   # but a.out was supported up to version 3.x and
-  # elf from 3.x. I cannot imagine someone runnig
+  # elf from 3.x. I cannot imagine someone running
   # CMake on those ancient systems
   CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR
 
index bcb33da7715ef58216c6801d447088faf1c48a8e..8951533418915eaebdc37746fe0c5b7f0459ad89 100644 (file)
@@ -282,7 +282,7 @@ CURLcode Curl_conn_setup(struct Curl_easy *data,
 
   DEBUGASSERT(data);
   /* If no filter is set, we have the "default" setup of connection filters.
-   * The filter chain from botton to top will be:
+   * The filter chain from bottom to top will be:
    * - SOCKET       socket filter for outgoing connection to remotehost
    * if http_proxy tunneling is engaged:
    *    - SSL                 if proxytype is CURLPROXY_HTTPS
@@ -491,7 +491,7 @@ void Curl_conn_get_host(struct Curl_easy *data, int sockindex,
   else {
     /* Some filter ask during shutdown for this, mainly for debugging
      * purposes. We hand out the defaults, however this is not always
-     * accurate, as the connction might be tunneled, etc. But all that
+     * accurate, as the connection might be tunneled, etc. But all that
      * state is already gone here. */
     *phost = data->conn->host.name;
     *pdisplay_host = data->conn->host.dispname;
index 8f0ac2e694bd4a5b99563b1fcede117436d5948f..b6dc96119ea6ee6845ac6cc3069606cf4a39af0a 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -285,7 +285,7 @@ static CURLcode AcceptServerConnect(struct Curl_easy *data)
   conn->bits.do_more = FALSE;
 
   (void)curlx_nonblock(s, TRUE); /* enable non-blocking */
-  /* Replace any filter on SECONDARY with one listeing on this socket */
+  /* Replace any filter on SECONDARY with one listening on this socket */
   result = Curl_conn_socket_accepted_set(data, conn, SECONDARYSOCKET, &s);
   if(result)
     return result;
@@ -1266,7 +1266,7 @@ static CURLcode ftp_state_use_port(struct Curl_easy *data,
   /* store which command was sent */
   ftpc->count1 = fcmd;
 
-  /* Replace any filter on SECONDARY with one listeing on this socket */
+  /* Replace any filter on SECONDARY with one listening on this socket */
   result = Curl_conn_socket_accepted_set(data, conn, SECONDARYSOCKET,
                                          &portsock);
   if(result)
index a77bdfb33d822f75e4287b9115b4f813e7adec67..616061ee46359a338cfb68a81df30b9342314e7b 100644 (file)
@@ -972,8 +972,8 @@ static CURLcode single_transfer(struct GlobalConfig *global,
 
             /*
              * this checks if the previous transfer had the same
-             * OperationConfig, which would mean, that the an output file has
-             * already been created and data can be appened to it, instead
+             * OperationConfig, which would mean, that an output file has
+             * already been created and data can be appended to it, instead
              * of overwriting it.
              * TODO: Consider placing the file handle inside the
              * OperationConfig, so that it does not need to be opened/closed