summaryrefslogtreecommitdiff
path: root/lib/telnet.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-11 09:27:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-12 09:50:24 +0200
commit20acb58a38a605cab1b17c0b3379e43cf09b40a6 (patch)
treec7a4b4722ef967e0b13c26b1c1e9d9f6a1a29790 /lib/telnet.c
parent67ade28571da2ac688d6edeb26f3abfb4f4ae3e8 (diff)
downloadcurl-20acb58a38a605cab1b17c0b3379e43cf09b40a6.tar.gz
code style: use space after semicolon
Diffstat (limited to 'lib/telnet.c')
-rw-r--r--lib/telnet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index fbb822ebc..a7bed3da1 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -295,7 +295,7 @@ static void negotiate(struct connectdata *conn)
int i;
struct TELNET *tn = (struct TELNET *) conn->data->req.protop;
- for(i = 0;i < CURL_NTELOPTS;i++) {
+ for(i = 0; i < CURL_NTELOPTS; i++) {
if(i == CURL_TELOPT_ECHO)
continue;
@@ -792,7 +792,7 @@ static void printsub(struct Curl_easy *data,
case CURL_TELOPT_NEW_ENVIRON:
if(pointer[1] == CURL_TELQUAL_IS) {
infof(data, " ");
- for(i = 3;i < length;i++) {
+ for(i = 3; i < length; i++) {
switch(pointer[i]) {
case CURL_NEW_ENV_VAR:
infof(data, ", ");
@@ -967,7 +967,7 @@ static void suboption(struct connectdata *conn)
CURL_TELQUAL_IS);
len = 4;
- for(v = tn->telnet_vars;v;v = v->next) {
+ for(v = tn->telnet_vars; v; v = v->next) {
tmplen = (strlen(v->data) + 1);
/* Add the variable only if it fits */
if(len + tmplen < (int)sizeof(temp)-6) {