diff --git a/src/bbs.c b/src/bbs.c index 8353226..e99da85 100644 --- a/src/bbs.c +++ b/src/bbs.c @@ -425,7 +425,6 @@ char s_getchar() { switch (c) { case IAC_WILL: - fprintf(stderr, "IAC WILL %d\n", d); if (d == 0) { if (telnet_bin_mode != 1) { telnet_bin_mode = 1; @@ -434,7 +433,6 @@ char s_getchar() { } break; case IAC_WONT: - fprintf(stderr, "IAC WONT %d\n", d); if (d == 0) { if (telnet_bin_mode != 0) { telnet_bin_mode = 0; @@ -443,7 +441,6 @@ char s_getchar() { } break; case IAC_DO: - fprintf(stderr, "IAC DO %d\n", d); if (d == 0) { if (telnet_bin_mode != 1) { telnet_bin_mode = 1; @@ -452,7 +449,6 @@ char s_getchar() { } break; case IAC_DONT: - fprintf(stderr, "IAC DONT %d\n", d); if (d == 0) { if (telnet_bin_mode != 0) { telnet_bin_mode = 0; diff --git a/src/doors.c b/src/doors.c index 562eaf7..7f306d8 100644 --- a/src/doors.c +++ b/src/doors.c @@ -371,7 +371,6 @@ void runexternal(struct user_record *user, char *cmd, int stdio, char *argv[], c } else if (gotiac == 2) { switch (iac) { case IAC_WILL: - fprintf(stderr, "IAC WILL %d\n", c); if (c == 0) { if (telnet_bin_mode != 1) { telnet_bin_mode = 1; @@ -380,7 +379,6 @@ void runexternal(struct user_record *user, char *cmd, int stdio, char *argv[], c } break; case IAC_WONT: - fprintf(stderr, "IAC WONT %d\n", c); if (c == 0) { if (telnet_bin_mode != 0) { telnet_bin_mode = 0; @@ -389,7 +387,6 @@ void runexternal(struct user_record *user, char *cmd, int stdio, char *argv[], c } break; case IAC_DO: - fprintf(stderr, "IAC DO %d\n", c); if (c == 0) { if (telnet_bin_mode != 1) { telnet_bin_mode = 1; @@ -398,7 +395,6 @@ void runexternal(struct user_record *user, char *cmd, int stdio, char *argv[], c } break; case IAC_DONT: - fprintf(stderr, "IAC DONT %d\n", c); if (c == 0) { if (telnet_bin_mode != 0) { telnet_bin_mode = 0; diff --git a/src/files.c b/src/files.c index 70ee1ef..2c313b8 100644 --- a/src/files.c +++ b/src/files.c @@ -190,7 +190,6 @@ int doIO(ZModem *zm) { if (buffer[j+1] == IAC_WILL || buffer[j+1] == IAC_WONT || buffer[j+1] == IAC_DO || buffer[j+1] == IAC_DONT) { switch (buffer[j+1]) { case IAC_WILL: - fprintf(stderr, "IAC WILL %d\n", buffer[j+2]); if (buffer[j+2] == 0) { if (telnet_bin_mode != 1) { telnet_bin_mode = 1; @@ -199,7 +198,6 @@ int doIO(ZModem *zm) { } break; case IAC_WONT: - fprintf(stderr, "IAC WONT %d\n", buffer[j+2]); if (buffer[j+2] == 0) { if (telnet_bin_mode != 0) { telnet_bin_mode = 0; @@ -208,7 +206,6 @@ int doIO(ZModem *zm) { } break; case IAC_DO: - fprintf(stderr, "IAC DO %d\n", buffer[j+2]); if (buffer[j+2] == 0) { if (telnet_bin_mode != 1) { telnet_bin_mode = 1; @@ -217,7 +214,6 @@ int doIO(ZModem *zm) { } break; case IAC_DONT: - fprintf(stderr, "IAC DONT %d\n", buffer[j+2]); if (buffer[j+2] == 0) { if (telnet_bin_mode != 0) { telnet_bin_mode = 0;