Scan filecopy sppool properly.
This commit is contained in:
parent
f370fdab66
commit
cdc5756f79
@ -186,9 +186,10 @@ void scan_spool(char *name)
|
|||||||
gui_fatal("opendir %s", name);
|
gui_fatal("opendir %s", name);
|
||||||
while ((ent = readdir(dir))) {
|
while ((ent = readdir(dir))) {
|
||||||
char *fname = ent->d_name;
|
char *fname = ent->d_name;
|
||||||
if (fname[0] != '.')
|
if (fname[0] != '.') {
|
||||||
process_spoolentry(fname);
|
process_spoolentry(fname);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
closedir(dir);
|
closedir(dir);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user