misc: fix grammar and spelling

Closes #10137
This commit is contained in:
John Bampton 2022-12-23 00:22:11 +10:00 committed by Daniel Stenberg
parent af5999a674
commit 80efd3bc61
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 8 additions and 8 deletions

View file

@ -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)