Skip to content
Snippets Groups Projects
Commit a22eceed authored by rswindell's avatar rswindell
Browse files

Typecat TELNET_IAC to char before comparison.

parent 6c7574f4
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ void sbbs_t::outchar(char ch)
putcom("\x1b[2J\x1b[H"); /* clear screen, home cursor */
}
else {
if(ch==TELNET_IAC && !(telnet_mode&TELNET_MODE_OFF))
if(ch==(char)TELNET_IAC && !(telnet_mode&TELNET_MODE_OFF))
outcom(TELNET_IAC); /* Must escape Telnet IAC char (255) */
i=0;
while(outcom(ch)&TXBOF && i<1440) { /* 3 minute pause delay */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment