From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Sun, 9 Feb 2020 17:04:46 +0000 (+0100) Subject: Fix #912 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/8f831ceb0b38ed2d736584b40261cb6ca565d021 Fix #912 --- diff --git a/client/util.c b/client/util.c index 3b299c9a..4e93b8f5 100644 --- a/client/util.c +++ b/client/util.c @@ -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)