summaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorSergey Bronnikov <estetus@gmail.com>2023-01-16 19:49:57 +0300
committerJay Satiro <raysatiro@yahoo.com>2023-01-17 03:39:25 -0500
commit11708d6f006db0960c8ff6eab2fd9b1d15d7e178 (patch)
tree615073ba6556c55b8f2724d427512cf757b9e633 /lib/ftp.c
parentde07d804fbcced9285b464345f027c77e32f3798 (diff)
downloadcurl-11708d6f006db0960c8ff6eab2fd9b1d15d7e178.tar.gz
lib: fix typos
Closes https://github.com/curl/curl/pull/10307
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 27bc53b0b..7766f76c7 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -286,7 +286,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_tcp_accepted_set(data, conn, SECONDARYSOCKET, &s);
if(result)
return result;
@@ -1252,7 +1252,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_tcp_listen_set(data, conn, SECONDARYSOCKET, &portsock);
if(result)
goto out;