remove redundant blanks
This commit is contained in:
parent
216145fba5
commit
e4ca7f45d2
1 changed files with 18 additions and 18 deletions
|
|
@ -375,7 +375,7 @@ read_card(int read_unlocked)
|
||||||
}
|
}
|
||||||
// Show if the readout went well for each block
|
// Show if the readout went well for each block
|
||||||
print_success_or_failure(bFailure, &uiReadBlocks);
|
print_success_or_failure(bFailure, &uiReadBlocks);
|
||||||
if ((! bTolerateFailures) && bFailure)
|
if ((!bTolerateFailures) && bFailure)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
printf("|\n");
|
printf("|\n");
|
||||||
|
|
@ -449,7 +449,7 @@ write_card(int write_block_zero)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// The first block 0x00 is read only, skip this
|
// The first block 0x00 is read only, skip this
|
||||||
if (uiBlock == 0 && ! write_block_zero && ! magic2)
|
if (uiBlock == 0 && !write_block_zero && !magic2)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -474,7 +474,7 @@ write_card(int write_block_zero)
|
||||||
}
|
}
|
||||||
// Show if the write went well for each block
|
// Show if the write went well for each block
|
||||||
print_success_or_failure(bFailure, &uiWriteBlocks);
|
print_success_or_failure(bFailure, &uiWriteBlocks);
|
||||||
if ((! bTolerateFailures) && bFailure)
|
if ((!bTolerateFailures) && bFailure)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
printf("|\n");
|
printf("|\n");
|
||||||
|
|
@ -659,7 +659,7 @@ main(int argc, const char *argv[])
|
||||||
fileUid[0], fileUid[1], fileUid[2], fileUid[3]);
|
fileUid[0], fileUid[1], fileUid[2], fileUid[3]);
|
||||||
printf("Got card with UID starting as: %02x%02x%02x%02x\n",
|
printf("Got card with UID starting as: %02x%02x%02x%02x\n",
|
||||||
pbtUID[0], pbtUID[1], pbtUID[2], pbtUID[3]);
|
pbtUID[0], pbtUID[1], pbtUID[2], pbtUID[3]);
|
||||||
if (! bForceKeyFile) {
|
if (!bForceKeyFile) {
|
||||||
printf("Aborting!\n");
|
printf("Aborting!\n");
|
||||||
nfc_close(pnd);
|
nfc_close(pnd);
|
||||||
nfc_exit(context);
|
nfc_exit(context);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue