diff options
| author | Franklin Wei <git@fwei.tk> | 2015-12-28 13:55:12 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-12-28 13:55:12 -0500 |
| commit | f0c4753ddb8fa32f7aa0e246f4205f608972c358 (patch) | |
| tree | 314ee8088eebf3e227ecda64ccba49d95c403772 /src/telnet.c | |
| parent | 4ecc22f1fc1e902e4a6d98fdea51fda1a29d1904 (diff) | |
| download | netcosm-f0c4753ddb8fa32f7aa0e246f4205f608972c358.zip netcosm-f0c4753ddb8fa32f7aa0e246f4205f608972c358.tar.gz netcosm-f0c4753ddb8fa32f7aa0e246f4205f608972c358.tar.bz2 netcosm-f0c4753ddb8fa32f7aa0e246f4205f608972c358.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) |