aboutsummaryrefslogtreecommitdiff
path: root/src/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/telnet.c')
-rw-r--r--src/telnet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/telnet.c b/src/telnet.c
index f984528..bd800ff 100644
--- a/src/telnet.c
+++ b/src/telnet.c
@@ -50,7 +50,7 @@ void telnet_handle_command(const unsigned char *buf)
{
if(c == commands[i].val)
{
- printf("%s ", commands[i].name);
+ debugf("%s ", commands[i].name);
cmd = true;
goto found;
}
@@ -62,14 +62,14 @@ void telnet_handle_command(const unsigned char *buf)
default:
break;
}
- printf("???: %d ", c);
+ debugf("???: %d ", c);
found:
++buf;
}
if(cmd)
- printf("\n");
+ debugf("\n");
}
void telnet_echo_off(void)