mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #211 from 4m4rOk/patch-1
Fixed undeclared identifier
This commit is contained in:
commit
131a213aae
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
|
||||||
memset(script_cmd_buf, 0, sizeof(script_cmd_buf));
|
memset(script_cmd_buf, 0, sizeof(script_cmd_buf));
|
||||||
// get
|
// get
|
||||||
if (!fgets(script_cmd_buf, sizeof(script_cmd_buf), stdin)) {
|
if (!fgets(script_cmd_buf, sizeof(script_cmd_buf), stdin)) {
|
||||||
PrintAndLogEx(ERROR, "STDIN unexpected end, exit...");
|
PrintAndLogEx(ERR, "STDIN unexpected end, exit...");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// remove linebreaks
|
// remove linebreaks
|
||||||
|
@ -530,4 +530,4 @@ int main(int argc, char* argv[]) {
|
||||||
pthread_mutex_destroy(&print_lock);
|
pthread_mutex_destroy(&print_lock);
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue