mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Fix printing of Telnet GA as ugrave
[originally from svn r313]
This commit is contained in:
parent
1d837144c4
commit
3a3aaaf86d
4
telnet.c
4
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 == WONT) telnet_state = SEENWONT;
|
||||||
else if (c == SB) telnet_state = SEENSB;
|
else if (c == SB) telnet_state = SEENSB;
|
||||||
else {
|
else {
|
||||||
/* ignore (and print) everything else */
|
/* ignore everything else; print it if it's IAC */
|
||||||
|
if (c == IAC) {
|
||||||
b[0] = c;
|
b[0] = c;
|
||||||
c_write(b,1);
|
c_write(b,1);
|
||||||
|
}
|
||||||
telnet_state = TOPLEVEL;
|
telnet_state = TOPLEVEL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user