diff options
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 11c75d75..438a3294 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1075,13 +1075,13 @@ start_client() static void telnet_init() { - static char svr[] = { + const static char svr[] = { IAC, DO, TELOPT_TTYPE, IAC, SB, TELOPT_TTYPE, TELQUAL_SEND, IAC, SE, IAC, WILL, TELOPT_ECHO, IAC, WILL, TELOPT_SGA }; - char *cmd; + const char *cmd; int n, len; struct timeval to; char buf[64]; |