From: John Bampton Date: Thu, 22 Dec 2022 14:22:11 +0000 (+1000) Subject: misc: fix grammar and spelling X-Git-Tag: curl-7_88_0~241 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80efd3bc61596a7091c8bdf2bb1e06358f663b58;p=thirdparty%2Fcurl.git misc: fix grammar and spelling Closes #10137 --- diff --git a/docs/cmdline-opts/dump-header.d b/docs/cmdline-opts/dump-header.d index 3e39f60073..5144fdf38d 100644 --- a/docs/cmdline-opts/dump-header.d +++ b/docs/cmdline-opts/dump-header.d @@ -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. diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 5ca5357d9b..316e7ecd4e 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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 diff --git a/lib/cfilters.c b/lib/cfilters.c index bcb33da771..8951533418 100644 --- a/lib/cfilters.c +++ b/lib/cfilters.c @@ -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; diff --git a/lib/ftp.c b/lib/ftp.c index 8f0ac2e694..b6dc96119e 100644 --- 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) diff --git a/src/tool_operate.c b/src/tool_operate.c index a77bdfb33d..616061ee46 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -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