diff options
Diffstat (limited to 'src/filelist.c')
-rw-r--r-- | src/filelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelist.c b/src/filelist.c index 49355c4..e70e003 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -202,7 +202,7 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level) struct stat st; char *path; - if (!origpath) + if (!origpath || *origpath == '\0') return; path = estrdup(origpath); |