From f67010bfc0ebb1482cc9fd6487a260eed1068afb Mon Sep 17 00:00:00 2001 From: Anders Sundman Date: Mon, 18 Jul 2016 16:58:14 +0200 Subject: [PATCH] Fixed missing {} from condition (as suggested by PanPriape) --- mifare_ctrl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mifare_ctrl.c b/mifare_ctrl.c index 4319832..803b9b1 100644 --- a/mifare_ctrl.c +++ b/mifare_ctrl.c @@ -353,8 +353,9 @@ bool mf_read_tag_internal(mf_tag_t* tag, size_t block = (size_t)block_it; // Print progress for the unlocked read - if (key_type == MF_KEY_UNLOCKED && is_trailer_block(block)) + if (key_type == MF_KEY_UNLOCKED && is_trailer_block(block)) { printf("."); fflush(stdout); + } // Authenticate everytime we reach a trailer block // unless we are doing an unlocked read