diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2015-12-28 13:55:12 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2015-12-28 13:55:12 -0500 |
| commit | d4e5d9fb0ecf45889d1b77c5acb9b549e4eea4f4 (patch) | |
| tree | 314ee8088eebf3e227ecda64ccba49d95c403772 /src/telnet.c | |
| parent | a75acdf938c2929d05c7d0d3c053c5cae52f791d (diff) | |
| download | netcosm-d4e5d9fb0ecf45889d1b77c5acb9b549e4eea4f4.zip netcosm-d4e5d9fb0ecf45889d1b77c5acb9b549e4eea4f4.tar.gz netcosm-d4e5d9fb0ecf45889d1b77c5acb9b549e4eea4f4.tar.bz2 netcosm-d4e5d9fb0ecf45889d1b77c5acb9b549e4eea4f4.tar.xz | |
optimize
Diffstat (limited to 'src/telnet.c')
| -rw-r--r-- | src/telnet.c | 6 |
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) |