mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix printing of Telnet GA as ugrave
[originally from svn r313]
This commit is contained in:
parent
1d837144c4
commit
3a3aaaf86d
8
telnet.c
8
telnet.c
@ -411,9 +411,11 @@ static void do_telnet_read (char *buf, int len) {
|
||||
else if (c == WONT) telnet_state = SEENWONT;
|
||||
else if (c == SB) telnet_state = SEENSB;
|
||||
else {
|
||||
/* ignore (and print) everything else */
|
||||
b[0] = c;
|
||||
c_write(b,1);
|
||||
/* ignore everything else; print it if it's IAC */
|
||||
if (c == IAC) {
|
||||
b[0] = c;
|
||||
c_write(b,1);
|
||||
}
|
||||
telnet_state = TOPLEVEL;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user