mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
make style
This commit is contained in:
parent
99159b3cda
commit
2022df1068
12 changed files with 199 additions and 198 deletions
|
@ -64,10 +64,10 @@ int searchHomeFilePath(char **foundpath, const char *filename, bool create_home)
|
|||
#ifdef _WIN32
|
||||
struct _stat st;
|
||||
// Mingw _stat fails if path ends with /, so let's use a stripped path
|
||||
if (path[strlen(path)-1]=='/') {
|
||||
path[strlen(path)-1]='\0';
|
||||
if (path[strlen(path) - 1] == '/') {
|
||||
path[strlen(path) - 1] = '\0';
|
||||
result = _stat(path, &st);
|
||||
path[strlen(path)]='/';
|
||||
path[strlen(path)] = '/';
|
||||
} else {
|
||||
result = _stat(path, &st);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue