diff options
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index 6085d88..e65b691 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -320,7 +320,7 @@ static void putiac_subopt(byte c, char *str) putiac(c); putiac(0); - while(*str) + while (*str) putiac(*str++); putiac(IAC); @@ -343,12 +343,12 @@ static void putiac_subopt_autologin(void) putiac(TELQUAL_IS); putiac(NEW_ENV_VAR); - while(*user) + while (*user) putiac(*user++); putiac(NEW_ENV_VALUE); - while(*autologin) + while (*autologin) putiac(*autologin++); putiac(IAC); |