make style

This commit is contained in:
Philippe Teuwen
2019-07-19 13:18:35 +02:00
parent 33f2cb0981
commit 8e6258936c
5 changed files with 13 additions and 14 deletions

View File

@@ -539,7 +539,7 @@ int EMVSearch(EMVCommandChannel channel, bool ActivateField, bool LeaveFieldON,
i--;
} else {
// (1) - card select error, (4) reply timeout, (200) - result length = 0
if (res == 1 || res == 4 ||res == 200) {
if (res == 1 || res == 4 || res == 200) {
if (!LeaveFieldON)
DropFieldEx(channel);

View File

@@ -83,7 +83,7 @@ int main(int argc, char **argv) {
int res;
int ret = 0;
flash_file_t files[MAX_FILES];
char * filenames[MAX_FILES];
char *filenames[MAX_FILES];
bool info = false;
memset(files, 0, sizeof(files));
@@ -146,8 +146,8 @@ int main(int argc, char **argv) {
if (info)
goto finish;
for (int i = 0 ; i < num_files; ++i){
res = flash_load(&files[i], filenames[i], can_write_bl, mem_avail*ONE_KB);
for (int i = 0 ; i < num_files; ++i) {
res = flash_load(&files[i], filenames[i], can_write_bl, mem_avail * ONE_KB);
if (res < 0) {
ret = -1;
goto finish;
@@ -174,7 +174,7 @@ finish:
CloseProxmark();
if (ret==0)
if (ret == 0)
PrintAndLogEx(SUCCESS, _BLUE_("All done."));
else
PrintAndLogEx(ERR, "Aborted on error.");