Repaired mailer spool files

This commit is contained in:
Michiel Broek 2002-03-18 21:38:21 +00:00
parent f30d5dc3dc
commit 4675383b9d

View File

@ -243,13 +243,13 @@ file_list *create_filelist(fa_list *al, char *fl, int create)
/*
* Check spool files.
*/
// if (strchr(fl, 'o')) {
// nm=splname(tmpa->addr);
// if ((fp=fopen(nm,"w")))
// fclose(fp);
// if ((nm != NULL) && (stat(nm,&stbuf) == 0))
// add_list(&st,nm,NULL,DSF,0L,NULL,1);
// }
if (strchr(fl, 'o')) {
nm=splname(tmpa->addr);
if ((fp=fopen(nm,"w")))
fclose(fp);
if ((nm != NULL) && (stat(nm,&stbuf) == 0))
add_list(&st,nm,NULL,DSF,0L,NULL,1);
}
/*
* Check .pol files