From 3c51ee4547e65e1c7ceaa8d7f87f47b644d0e2d2 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Tue, 24 Aug 2021 16:22:55 +0800 Subject: [PATCH] make style --- client/src/cmdhfmfdes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index 0d1e14d0b..8677ff8ab 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -696,15 +696,15 @@ static int CmdHF14ADesInfo(const char *Cmd) { if (card.sak == 0x20) { if (card.ats_len >= 5) { - if (!memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) { + if (0 == memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) { PrintAndLogEx(INFO, "Standalone DESFire"); } - if (!memcmp(card.ats + 1, JCOP_DESFIRE, 4)) { + if (0 == memcmp(card.ats + 1, JCOP_DESFIRE, 4)) { PrintAndLogEx(INFO, "JCOP DESFire"); } } if (card.ats_len == 4) { - if (!memcmp(card.ats + 1, JCOP3_DESFIRE, 4)) { + if (0 == memcmp(card.ats + 1, JCOP3_DESFIRE, 4)) { PrintAndLogEx(INFO, "JCOP3 DESFire"); } }