summaryrefslogtreecommitdiff
path: root/networking/telnet.c
diff options
context:
space:
mode:
authorEric Andersen2002-04-26 08:44:17 +0000
committerEric Andersen2002-04-26 08:44:17 +0000
commit416340642df18d92600998566ccb1bec25b10d4b (patch)
tree0ca3a4e8f17f3e02839c5eb8bb2d615c0b4a4ce4 /networking/telnet.c
parent8db361b3e5b608fc2f6d9a338f14d7ee1488aa25 (diff)
downloadbusybox-416340642df18d92600998566ccb1bec25b10d4b.zip
busybox-416340642df18d92600998566ccb1bec25b10d4b.tar.gz
Fix bugs
Diffstat (limited to 'networking/telnet.c')
-rw-r--r--networking/telnet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index 62776ba..8f9ce7e 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -523,13 +523,13 @@ static void telopt(byte c)
{
switch (c)
{
- case TELOPT_ECHO: to_echo(c); break;
- case TELOPT_SGA: to_sga(c); break;
+ case TELOPT_ECHO: to_echo(); break;
+ case TELOPT_SGA: to_sga(); break;
#ifdef CONFIG_FEATURE_TELNET_TTYPE
- case TELOPT_TTYPE: to_ttype(c);break;
+ case TELOPT_TTYPE: to_ttype();break;
#endif
#ifdef CONFIG_FEATURE_AUTOWIDTH
- case TELOPT_NAWS: to_naws(c);
+ case TELOPT_NAWS: to_naws();
putiac_naws(c, win_width, win_height);
break;
#endif