From 3c5bfe489321f6757366268e23fd3565a96ab683 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Tue, 7 Feb 2017 02:35:49 -0500 Subject: telnet: Fix typos Ref: https://github.com/curl/curl/pull/1245 --- lib/telnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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) -- cgit v1.2.3