diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2006-06-14 16:23:02 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2006-06-14 16:23:02 +0000 |
| commit | af9557fdd1de47bcfff61cccba2930e93ec4e69b (patch) | |
| tree | 6f072dad611b3ce7872008bf9d66b23a34c28039 /contrib/sendmail/src/envelope.c | |
| parent | 4e4196cb7454f47341efebe4e0a17f1b8cd534c7 (diff) | |
Diffstat (limited to 'contrib/sendmail/src/envelope.c')
| -rw-r--r-- | contrib/sendmail/src/envelope.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/sendmail/src/envelope.c b/contrib/sendmail/src/envelope.c index 164ed6f91719..50009a464ba2 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) { /* |
