From 20f22b97e7a5de12fdc8f3f21eb880cda6635dff Mon Sep 17 00:00:00 2001 From: quantum-x Date: Tue, 3 Nov 2015 18:39:03 +0100 Subject: [PATCH] Updating nesting typo --- utils/nfc-mfclassic.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c index 31ad2a6..86112f7 100644 --- a/utils/nfc-mfclassic.c +++ b/utils/nfc-mfclassic.c @@ -318,9 +318,10 @@ read_card(int read_unlocked) //If User has requested an unlocked read, but we're unable to unlock the card, we'll error out. if (!unlock_card()) { return false; + } } } - + printf("Reading out %d blocks |", uiBlocks + 1); // Read the card from end to begin for (iBlock = uiBlocks; iBlock >= 0; iBlock--) { @@ -396,9 +397,10 @@ write_card(int write_block_zero) //If User has requested an unlocked write, but we're unable to unlock the card, we'll error out. if (!unlock_card()) { return false; + } } } - + printf("Writing %d blocks |", uiBlocks + 1); // Write the card from begin to end; for (uiBlock = 0; uiBlock <= uiBlocks; uiBlock++) {