summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/envelope.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2006-06-14 16:23:02 +0000
committergshapiro <gshapiro@FreeBSD.org>2006-06-14 16:23:02 +0000
commit519bd6b141ceebfd6ecf5d83fc6982ba2400d1f6 (patch)
treecc2608de04a102294610c8979b33e4638632f673 /contrib/sendmail/src/envelope.c
parentb692e05a4491e02dd89c68fae75d1bff801b74ee (diff)
parent1024e3943e17bd4407f0cf3a799cfa05d59f1059 (diff)
downloadFreeBSD-src-519bd6b141ceebfd6ecf5d83fc6982ba2400d1f6.zip
FreeBSD-src-519bd6b141ceebfd6ecf5d83fc6982ba2400d1f6.tar.gz
This commit was generated by cvs2svn to compensate for changes in r159609,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/sendmail/src/envelope.c')
-rw-r--r--contrib/sendmail/src/envelope.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/sendmail/src/envelope.c b/contrib/sendmail/src/envelope.c
index 164ed6f..50009a4 100644
--- a/contrib/sendmail/src/envelope.c
+++ b/contrib/sendmail/src/envelope.c
@@ -13,7 +13,7 @@
#include <sendmail.h>
-SM_RCSID("@(#)$Id: envelope.c,v 8.295 2005/06/15 20:32:18 ca Exp $")
+SM_RCSID("@(#)$Id: envelope.c,v 8.296 2006/03/31 18:53:50 ca Exp $")
/*
** CLRSESSENVELOPE -- clear session oriented data in an envelope
@@ -519,7 +519,14 @@ simpledrop:
printenvflags(e);
}
if (!panic)
+ {
+ if (e->e_dfp != NULL)
+ {
+ (void) sm_io_close(e->e_dfp, SM_TIME_DEFAULT);
+ e->e_dfp = NULL;
+ }
(void) xunlink(queuename(e, DATAFL_LETTER));
+ }
if (panic && QueueMode == QM_LOST)
{
/*
OpenPOWER on IntegriCloud