From c3c0db0c0fb6c8f26aba762ae4e26bd4ecd580a7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 1 Feb 2001 14:07:53 +0000 Subject: [PATCH] Fix an always-false comparison (don't compare a char to 0x80!) [originally from svn r919] --- rlogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlogin.c b/rlogin.c index 850d906d..9ce73095 100644 --- 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