1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00

Fix an always-false comparison (don't compare a char to 0x80!)

[originally from svn r919]
This commit is contained in:
Simon Tatham 2001-02-01 14:07:53 +00:00
parent 4707d0823e
commit c3c0db0c0f

View File

@ -41,7 +41,7 @@ static int rlogin_receive (Socket skt, int urgent, char *data, int len) {
char c; char c;
c = *data++; len--; c = *data++; len--;
if (c == 0x80) if (c == '\x80')
rlogin_size(); rlogin_size();
/* /*
* We should flush everything (aka Telnet SYNCH) if we see * We should flush everything (aka Telnet SYNCH) if we see