Loading src/filelist.c +19 −19 Original line number Diff line number Diff line Loading @@ -263,8 +263,7 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level) default: weprintf("Failed to scan directory %s:", path); } } } else { for (cnt = 0; cnt < n; cnt++) { if (strcmp(de[cnt]->d_name, ".") && strcmp(de[cnt]->d_name, "..")) { Loading @@ -284,6 +283,7 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level) free(de[cnt]); } free(de); } closedir(dir); } else if (S_ISREG(st.st_mode)) { D(("Adding regular file %s to filelist\n", path)); Loading Loading
src/filelist.c +19 −19 Original line number Diff line number Diff line Loading @@ -263,8 +263,7 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level) default: weprintf("Failed to scan directory %s:", path); } } } else { for (cnt = 0; cnt < n; cnt++) { if (strcmp(de[cnt]->d_name, ".") && strcmp(de[cnt]->d_name, "..")) { Loading @@ -284,6 +283,7 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level) free(de[cnt]); } free(de); } closedir(dir); } else if (S_ISREG(st.st_mode)) { D(("Adding regular file %s to filelist\n", path)); Loading