From bb7b05681e6f2b24f7e1998337fbe818e85409c3 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 12 Mar 2013 10:55:45 +0100 Subject: [PATCH] nfc-mfclassic: fix reporting of processed blocks number --- utils/nfc-mfclassic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c index 4661467..2637724 100644 --- a/utils/nfc-mfclassic.c +++ b/utils/nfc-mfclassic.c @@ -138,7 +138,7 @@ print_success_or_failure(bool bFailure, uint32_t *uiBlockCounter) { printf("%c", (bFailure) ? 'x' : '.'); if (uiBlockCounter && !bFailure) - *uiBlockCounter += (*uiBlockCounter < 128) ? 4 : 16; + *uiBlockCounter += 1; } static bool