From b3064c48881176f940917cbc73fd6cf4099961ea Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 17 Feb 2021 08:59:20 +0100 Subject: [PATCH] style --- client/src/cmdhfmfu.c | 6 +++--- client/src/fileutils.c | 2 +- client/src/fileutils.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c index 926642e1d..5a74149a5 100644 --- a/client/src/cmdhfmfu.c +++ b/client/src/cmdhfmfu.c @@ -3560,14 +3560,14 @@ static int CmdHF14MfuNDEF(const char *Cmd) { DropField(); status = NDEFRecordsDecodeAndPrint(records, (size_t)maxsize); - if ( status != PM3_SUCCESS) { + if (status != PM3_SUCCESS) { status = NDEFDecodeAndPrint(records, (size_t)maxsize, true); } - char *jooki = strstr((char*)records, "s.jooki.rocks/s/?s="); + char *jooki = strstr((char *)records, "s.jooki.rocks/s/?s="); if (jooki) { jooki += 17; - while(jooki) { + while (jooki) { if ((*jooki) != '=') jooki++; else { diff --git a/client/src/fileutils.c b/client/src/fileutils.c index 137d2640b..dc7ac530a 100644 --- a/client/src/fileutils.c +++ b/client/src/fileutils.c @@ -90,7 +90,7 @@ DumpFileType_t getfiletype(const char *filename) { } size_t len = strlen(filename); - if (len > 4) { + if (len > 4) { // check if valid file extension and attempt to load data char s[FILE_PATH_SIZE]; memset(s, 0, sizeof(s)); diff --git a/client/src/fileutils.h b/client/src/fileutils.h index 5e5cee664..bc06bd061 100644 --- a/client/src/fileutils.h +++ b/client/src/fileutils.h @@ -276,7 +276,7 @@ int searchFile(char **foundpath, const char *pm3dir, const char *searchname, con /** * @brief detects if file is of a supported filetype based on extension * @param filename - * @return + * @return */ DumpFileType_t getfiletype(const char *filename); #endif // FILEUTILS_H