]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix #912 913/head
authorHelio Machado <0x2b3bfa0+git@googlemail.com>
Sun, 9 Feb 2020 17:04:46 +0000 (18:04 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Feb 2020 17:04:46 +0000 (18:04 +0100)
client/util.c

index 3b299c9a9854348678606402f23ccba707711216..4e93b8f55940b5de8a7e309616f6d1b5b4166357 100644 (file)
@@ -49,7 +49,7 @@ int ukbhit(void)
        error += tcsetattr(STDIN_FILENO, TCSANOW, &Otty);             // reset attributes
   }
 
-  return ( error == 0 ? cnt : -1 );
+  return cnt;
 }
 
 char getch(void)
Impressum, Datenschutz