summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index d5779b80..1e3f16fd 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1786,14 +1786,14 @@ static int check_banip(char *host)
/* ------- piaip's implementation of TELNET protocol ------- */
-enum {
+enum TELNET_IAC_STATES {
IAC_NONE,
IAC_COMMAND,
IAC_WAIT_OPT,
IAC_WAIT_SE,
IAC_PROCESS_OPT,
IAC_ERROR
-} TELNET_IAC_STATES;
+};
static unsigned char iac_state = 0; /* as byte to reduce memory */