Fix an always-false comparison (don't compare a char to 0x80!)
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Feb 2001 14:07:53 +0000 (14:07 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Feb 2001 14:07:53 +0000 (14:07 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@919 cda61777-01e9-0310-a592-d414129be87e

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