From dd6ec29b9f55f3264f664a70e8b4a796d993907f Mon Sep 17 00:00:00 2001 From: Eric Allman Date: Tue, 17 Aug 1982 23:15:49 -0800 Subject: [PATCH] don't process core files; process headers properly when running queue. SCCS-vsn: usr.sbin/sendmail/src/queue.c 3.32 --- usr/src/usr.sbin/sendmail/src/queue.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr/src/usr.sbin/sendmail/src/queue.c b/usr/src/usr.sbin/sendmail/src/queue.c index c3cfbb51d3..0ff217f8af 100644 --- a/usr/src/usr.sbin/sendmail/src/queue.c +++ b/usr/src/usr.sbin/sendmail/src/queue.c @@ -5,10 +5,10 @@ # include # ifndef QUEUE -SCCSID(@(#)queue.c 3.31 %G% (no queueing)); +SCCSID(@(#)queue.c 3.32 %G% (no queueing)); # else QUEUE -SCCSID(@(#)queue.c 3.31 %G%); +SCCSID(@(#)queue.c 3.32 %G%); /* ** QUEUEUP -- queue a message up for future transmission. @@ -365,7 +365,7 @@ orderq() register char *p; /* is this an interesting entry? */ - if (d->d_name[0] != 'c') + if (d->d_name[0] != 'c' || d->d_name[1] != 'f') continue; /* yes -- find the control file location */ @@ -539,6 +539,7 @@ dowork(w) /* read the queue control file */ readqf(buf); + eatheader(); /* do the delivery */ if (!FatalErrors) -- 2.20.1