From 715a7f830822438ddb0c4eca7d742c07fea3f64c Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 11 Jul 2019 04:49:41 +0000 Subject: [PATCH] Fix Telnet IAC escaping bug introduced in rev 1.104 (July-8) which caused problems loading font data in SyncTERM over Telnet. --- src/sbbs3/con_out.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/con_out.cpp b/src/sbbs3/con_out.cpp index 88c4f910e7..9b2f8e953b 100644 --- a/src/sbbs3/con_out.cpp +++ b/src/sbbs3/con_out.cpp @@ -310,7 +310,7 @@ int sbbs_t::rputs(const char *str, size_t len) else { if(outcom(ch)!=0) 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) */ } if(lbuflen<LINE_BUFSIZE) -- GitLab