From ec1699977710e2c01880e0395da617e6cda15d31 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 1 Feb 2001 14:07:53 +0000 Subject: [PATCH] Fix an always-false comparison (don't compare a char to 0x80!) git-svn-id: svn://svn.tartarus.org/sgt/putty@919 cda61777-01e9-0310-a592-d414129be87e --- 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 -- 2.11.0