aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util.c b/util.c
index fa0f0e3..6028eb7 100644
--- a/util.c
+++ b/util.c
@@ -30,7 +30,7 @@ const char *progname;
void* emalloc(size_t size)
{
void *ptr;
-
+
ptr = malloc(size);
if (ptr == NULL)
error(EXIT_FAILURE, errno, NULL);
@@ -172,7 +172,7 @@ char* r_readdir(r_dir_t *rdir, bool skip_dotfiles)
}
return filename;
}
-
+
if (rdir->recursive && rdir->stlen > 0) {
/* open next subdirectory */
closedir(rdir->dir);
@@ -210,4 +210,3 @@ int r_mkdir(char *path)
}
return 0;
}
-