Merge pull request #211 from 4m4rOk/patch-1

Fixed undeclared identifier
This commit is contained in:
Iceman 2018-04-06 23:03:38 +02:00 committed by GitHub
commit 131a213aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
// get
if (!fgets(script_cmd_buf, sizeof(script_cmd_buf), stdin)) {
PrintAndLogEx(ERROR, "STDIN unexpected end, exit...");
PrintAndLogEx(ERR, "STDIN unexpected end, exit...");
break;
}
// remove linebreaks