projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d6e1d48
)
Merge pull request #913 from 0x2b3bfa0/patch-1
author
pwpiwi
<pwpiwi@users.noreply.github.com>
Thu, 13 Feb 2020 07:37:17 +0000
(08:37 +0100)
committer
GitHub
<noreply@github.com>
Thu, 13 Feb 2020 07:37:17 +0000
(08:37 +0100)
Fix #912: ukbhit() false positive
client/util.c
patch
|
blob
|
blame
|
history
diff --git
a/client/util.c
b/client/util.c
index 3b299c9a9854348678606402f23ccba707711216..4e93b8f55940b5de8a7e309616f6d1b5b4166357 100644
(file)
--- 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)
Impressum
,
Datenschutz