aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2017-02-07 02:35:49 -0500
committerJay Satiro <raysatiro@yahoo.com>2017-02-07 02:39:16 -0500
commit3c5bfe489321f6757366268e23fd3565a96ab683 (patch)
treee59642178d565cc5bd9a5bb653ad364af32f8d28 /lib
parente695b070a5165d0666931f1831049eb07d269316 (diff)
telnet: Fix typos
Ref: https://github.com/curl/curl/pull/1245
Diffstat (limited to 'lib')
-rw-r--r--lib/telnet.c4
1 files changed, 2 insertions, 2 deletions
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)