Fixes for killsent flag

This commit is contained in:
Michiel Broek
2001-11-16 20:07:42 +00:00
parent 5f06e6e421
commit a1d9bd4216
4 changed files with 17 additions and 16 deletions

View File

@@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbmail/mkftnhdr.c
* $Id$
* Purpose ...............: MBSE BBS Mail Gate
* Last modification date : 14-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@@ -513,10 +512,8 @@ ftnmsg *mkftnhdr(rfcmsg *msg, int incode, int outcode, int newsmode, faddr *reci
tmsg->flags |= M_RRQ;
if (hdr((char *)"Notice-Requested-Upon-Delivery-To",msg))
tmsg->flags |= M_RRQ;
if (!newsmode) {
if (!newsmode)
tmsg->flags |= M_PVT;
tmsg->flags |= M_KILLSENT;
}
if ((p = hdr((char *)"X-Origin-Date",msg)))
tmsg->date = parsedate(p, NULL);

View File

@@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: tosser/sendmail.c
* $Id$
* Purpose ...............: Output a netmail to one of our links.
* Last modification date : 11-Mar-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@@ -81,7 +80,6 @@ FILE *SendMgrMail(faddr *t, int Keep, int FileAttach, char *bymgr, char *subj, c
Now = time(NULL) - (gmt_offset((time_t)0) * 60);
flags |= (nodes.Crash) ? M_CRASH : 0;
flags |= (FileAttach) ? M_FILE : 0;
flags |= (!Keep) ? M_KILLSENT : 0;
flags |= (nodes.Hold) ? M_HOLD : 0;
/*