Fix bugs
authorEric Andersen <andersen@codepoet.org>
Fri, 26 Apr 2002 08:44:17 +0000 (08:44 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 26 Apr 2002 08:44:17 +0000 (08:44 -0000)
networking/telnet.c

index 62776bad1eb502d5d8924cec907d00aba975d282..8f9ce7e944e6813e4ac678adbce222169b92b9ef 100644 (file)
@@ -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