mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
style
This commit is contained in:
parent
f83fa37b86
commit
1ff1fa7385
4 changed files with 15 additions and 15 deletions
|
@ -676,16 +676,16 @@ int saveFileJSONroot(const char *preferredName, void *root, size_t flags, bool v
|
|||
|
||||
int res = json_dump_file(root, filename, flags);
|
||||
|
||||
if ( res == 0 ) {
|
||||
if (res == 0) {
|
||||
if (verbose) {
|
||||
PrintAndLogEx(SUCCESS, "saved to json file " _YELLOW_("%s"), filename);
|
||||
}
|
||||
free(filename);
|
||||
free(filename);
|
||||
return PM3_SUCCESS;
|
||||
} else {
|
||||
PrintAndLogEx(FAILED, "error: can't save the file: " _YELLOW_("%s"), filename);
|
||||
}
|
||||
free(filename);
|
||||
free(filename);
|
||||
return PM3_EFILE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue