mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3
This commit is contained in:
commit
42933f2e7b
1 changed files with 2 additions and 0 deletions
|
@ -365,6 +365,8 @@ int loadFileEML(const char *preferredName, const char *suffix, void *data, size_
|
||||||
memset(line, 0, sizeof(line));
|
memset(line, 0, sizeof(line));
|
||||||
|
|
||||||
if (fgets(line, sizeof(line), f) == NULL) {
|
if (fgets(line, sizeof(line), f) == NULL) {
|
||||||
|
if (feof(f))
|
||||||
|
break;
|
||||||
fclose(f);
|
fclose(f);
|
||||||
PrintAndLogEx(FAILED, "File reading error.");
|
PrintAndLogEx(FAILED, "File reading error.");
|
||||||
retval = 2;
|
retval = 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue