projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix an always-false comparison (don't compare a char to 0x80!)
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/rlogin.c
index
850d906
..
9ce7309
100644
(file)
--- a/
rlogin.c
+++ b/
rlogin.c
@@
-41,7
+41,7
@@
static int rlogin_receive (Socket skt, int urgent, char *data, int len) {
char c;
c = *data++; len--;
- if (c ==
0x80
)
+ if (c ==
'\x80'
)
rlogin_size();
/*
* We should flush everything (aka Telnet SYNCH) if we see