Skip to content

Commit

Permalink
new line
Browse files Browse the repository at this point in the history
  • Loading branch information
ravachol committed Jul 4, 2024
1 parent 697c83a commit bbad628
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ int walker(const char *startPath, const char *searching, char *result,
}

char entryPath[MAXPATHLEN];
char *currentDir = getcwd(NULL, 0); snprintf(entryPath, sizeof(entryPath), "%s/%s", currentDir, dir->d_name);
char *currentDir = getcwd(NULL, 0);
snprintf(entryPath, sizeof(entryPath), "%s/%s", currentDir, dir->d_name);
free(currentDir);

if (stat(entryPath, &file_stat) != 0)
Expand Down

0 comments on commit bbad628

Please sign in to comment.