From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Sun, 9 Feb 2020 17:04:46 +0000 (+0100) Subject: Fix #912 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/refs/pull/913/head 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)