diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2017-04-17 11:04:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-04-17 23:17:50 +0200 |
commit | aaa7e05c786290e212035079060911020ff4d3ba (patch) | |
tree | a09adc224e40b5d653c8308918dd53c2519ddb70 /lib/telnet.c | |
parent | c25aba1254135a230971c1ed2a8140bde52b7b07 (diff) | |
download | curl-aaa7e05c786290e212035079060911020ff4d3ba.tar.gz |
code: fix typos and style in comments
A few random typos, and minor whitespace cleanups, found in comments
while reading code.
Closes #1423
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 39ca6bcf9..5cceed258 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -872,7 +872,7 @@ static CURLcode check_telnet_options(struct connectdata *conn) continue; } - /* Window Size */ + /* Window Size */ if(strcasecompare(option_keyword, "WS")) { if(sscanf(option_arg, "%hu%*[xX]%hu", &tn->subopt_wsx, &tn->subopt_wsy) == 2) @@ -1014,7 +1014,7 @@ static void sendsuboption(struct connectdata *conn, int option) CURL_SB_ACCUM(tn, CURL_IAC); CURL_SB_ACCUM(tn, CURL_SB); CURL_SB_ACCUM(tn, CURL_TELOPT_NAWS); - /* We must deal either with litte or big endien processors */ + /* We must deal either with litte or big endian processors */ /* Window size must be sent according to the 'network order' */ x=htons(tn->subopt_wsx); y=htons(tn->subopt_wsy); |