From: Daniel Gustafsson Date: Tue, 7 Feb 2017 07:35:49 +0000 (-0500) Subject: telnet: Fix typos X-Git-Tag: curl-7_53_0~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c5bfe489321f6757366268e23fd3565a96ab683;p=curl telnet: Fix typos Ref: https://github.com/curl/curl/pull/1245 --- diff --git a/lib/telnet.c b/lib/telnet.c index 5c14b4ccd..162cab757 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1186,7 +1186,7 @@ CURLcode telrcv(struct connectdata *conn, * IAC SE was left off, or another option got inserted into the * suboption are all possibilities. If we assume that the IAC was * not doubled, and really the IAC SE was left off, we could get - * into an infinate loop here. So, instead, we terminate the + * into an infinite loop here. So, instead, we terminate the * suboption, and process the partial suboption if we can. */ CURL_SB_ACCUM(tn, CURL_IAC); @@ -1326,7 +1326,7 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done) #ifdef USE_WINSOCK /* ** This functionality only works with WinSock >= 2.0. So, - ** make sure have it. + ** make sure we have it. */ result = check_wsock2(data); if(result)