X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e73c9f1bd4f09495fc4a92607cc59943bcc56497..852ecedc16ee8220c8208828c55d14a668e69c30:/client/util.c 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)