Skip to content
Snippets Groups Projects
Commit 73c915cc authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix misuse of loadfiles()

parent 67e12727
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2171 failed
......@@ -464,7 +464,7 @@ void synclist(char *inpath, int dirnum)
return;
}
size_t file_count;
file_list = loadfiles(&smb, NULL, 0, /* extdesc: */FALSE, FILE_SORT_NATURAL, &file_count);
file_list = loadfiles(&smb, NULL, 0, file_detail_normal, FILE_SORT_NATURAL, &file_count);
printf("\nSynchronizing %s with %s %s\n\n"
,listpath,scfg.lib[scfg.dir[dirnum]->lib]->sname,scfg.dir[dirnum]->sname);
......
......@@ -340,7 +340,7 @@ int main(int argc, char **argv)
t = time(NULL) - (max_age * 24 * 60 * 60);
ulong file_count;
file_t* file_list = loadfiles(&smb
,/* filespec: */pattern, /* time: */t, /* extdesc: */TRUE, scfg.dir[i]->sort, &file_count);
,/* filespec: */pattern, /* time: */t, file_detail_extdesc, scfg.dir[i]->sort, &file_count);
if(misc&AUTO) {
sprintf(str,"%sFILES.BBS",scfg.dir[i]->path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment