From 4abb052f38da115c65c77efe07130151ae17f5d4 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 2 Jun 2015 12:20:48 +0200 Subject: [PATCH] CHG: removed an extra fclose call --- client/cmdhfmf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index e52b910a..809c623a 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1627,7 +1627,6 @@ int CmdHF14AMfCLoad(const char *Cmd) if (fgets(buf, sizeof(buf), f) == NULL) { fclose(f); PrintAndLog("File reading error."); - fclose(f); return 2; } @@ -1952,7 +1951,6 @@ int CmdHF14AMfSniff(const char *Cmd){ } if (wantDecrypt) mfTraceInit(uid, atqa, sak, wantSaveToEmlFile); - } else { PrintAndLog("%s(%d):%s", isTag ? "TAG":"RDR", num, sprint_hex(bufPtr, len)); if (wantLogToFile) -- 2.39.5