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:
parent
4707d0823e
commit
c3c0db0c0f
2
rlogin.c
2
rlogin.c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user