Skip to content

Commit

Permalink
Fixed missing {} from condition (as suggested by PanPriape)
Browse files Browse the repository at this point in the history
  • Loading branch information
4ZM committed Jul 18, 2016
1 parent 0d44745 commit f67010b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mifare_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f67010b

Please sign in to comment.