Skip to content
Snippets Groups Projects
Commit d1196083 authored by rswindell's avatar rswindell
Browse files

Bugfix: Removes 0-byte mailproc error files.

parent a8dca09d
No related branches found
No related tags found
No related merge requests found
......@@ -1897,6 +1897,7 @@ static void smtp_thread(void* arg)
remove(proc_err_fname);
continue;
}
remove(proc_err_fname); /* Remove 0-byte error file here */
if(!fexist(msgtxt_fname) || !fexist(rcptlst_fname)) {
lprintf("%04d SMTP external process removed %s"
,socket, fexist(msgtxt_fname)==FALSE ? "message text" : "recipient list");
......
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