diff options
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c index 29aa3db..151e3a7 100644 --- a/src/common.c +++ b/src/common.c @@ -80,7 +80,8 @@ int makeDir(const char* path) return mkdir(path, 0755); } -int removeDir(const char *path) { +int removeDir(const char *path) +{ DIR *d = opendir(path); size_t path_len = strlen(path); int r = -1; |