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

Fix Telnet IAC escaping bug introduced in rev 1.104 (July-8) which caused

problems loading font data in SyncTERM over Telnet.
parent d448dbb8
No related branches found
No related tags found
No related merge requests found
...@@ -310,7 +310,7 @@ int sbbs_t::rputs(const char *str, size_t len) ...@@ -310,7 +310,7 @@ int sbbs_t::rputs(const char *str, size_t len)
else { else {
if(outcom(ch)!=0) if(outcom(ch)!=0)
break; break;
if(ch == (char)TELNET_IAC && !(telnet_mode&TELNET_MODE_OFF)) if((char)ch == (char)TELNET_IAC && !(telnet_mode&TELNET_MODE_OFF))
outcom(TELNET_IAC); /* Must escape Telnet IAC char (255) */ outcom(TELNET_IAC); /* Must escape Telnet IAC char (255) */
} }
if(lbuflen<LINE_BUFSIZE) if(lbuflen<LINE_BUFSIZE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment