if (fgets(buf, sizeof(buf), f) == NULL) {\r
fclose(f);\r
PrintAndLog("File reading error.");\r
- fclose(f);\r
return 2;\r
}\r
\r
} \r
if (wantDecrypt) \r
mfTraceInit(uid, atqa, sak, wantSaveToEmlFile);\r
-\r
} else {\r
PrintAndLog("%s(%d):%s", isTag ? "TAG":"RDR", num, sprint_hex(bufPtr, len));\r
if (wantLogToFile) \r