]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Fix an always-false comparison (don't compare a char to 0x80!)
authorSimon Tatham <anakin@pobox.com>
Thu, 1 Feb 2001 14:07:53 +0000 (14:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 1 Feb 2001 14:07:53 +0000 (14:07 +0000)
git-svn-id: http://svn.tartarus.org/sgt/putty@919 cda61777-01e9-0310-a592-d414129be87e

rlogin.c

index 850d906d210745d84f986db05aba3fec7faba361..9ce73095751d4fe1389f22f410425b1aece05f7d 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