CHG: removed an extra fclose call
This commit is contained in:
@@ -1627,7 +1627,6 @@ int CmdHF14AMfCLoad(const char *Cmd)
|
|||||||
if (fgets(buf, sizeof(buf), f) == NULL) {
|
if (fgets(buf, sizeof(buf), f) == NULL) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
PrintAndLog("File reading error.");
|
PrintAndLog("File reading error.");
|
||||||
fclose(f);
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1952,7 +1951,6 @@ int CmdHF14AMfSniff(const char *Cmd){
|
|||||||
}
|
}
|
||||||
if (wantDecrypt)
|
if (wantDecrypt)
|
||||||
mfTraceInit(uid, atqa, sak, wantSaveToEmlFile);
|
mfTraceInit(uid, atqa, sak, wantSaveToEmlFile);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
PrintAndLog("%s(%d):%s", isTag ? "TAG":"RDR", num, sprint_hex(bufPtr, len));
|
PrintAndLog("%s(%d):%s", isTag ? "TAG":"RDR", num, sprint_hex(bufPtr, len));
|
||||||
if (wantLogToFile)
|
if (wantLogToFile)
|
||||||
|
|||||||
Reference in New Issue
Block a user