Deleted Added
full compact
envelope.c (132943) envelope.c (147078)
1/*
2 * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
5 * Copyright (c) 1988, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * By using this file, you agree to the terms and conditions set
9 * forth in the LICENSE file which can be found at the top level of
10 * the sendmail distribution.
11 *
12 */
13
14#include <sendmail.h>
15
1/*
2 * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
5 * Copyright (c) 1988, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * By using this file, you agree to the terms and conditions set
9 * forth in the LICENSE file which can be found at the top level of
10 * the sendmail distribution.
11 *
12 */
13
14#include <sendmail.h>
15
16SM_RCSID("@(#)$Id: envelope.c,v 8.293 2004/02/18 00:46:18 gshapiro Exp $")
16SM_RCSID("@(#)$Id: envelope.c,v 8.294 2005/02/16 23:38:51 ca Exp $")
17
18/*
19** CLRSESSENVELOPE -- clear session oriented data in an envelope
20**
21** Parameters:
22** e -- the envelope to clear.
23**
24** Returns:

--- 488 unchanged lines hidden (view full) ---

513 */
514
515 /* EMPTY */
516 }
517 else
518 if (xunlink(queuename(e, ANYQFL_LETTER)) == 0)
519 {
520 /* add to available space in filesystem */
17
18/*
19** CLRSESSENVELOPE -- clear session oriented data in an envelope
20**
21** Parameters:
22** e -- the envelope to clear.
23**
24** Returns:

--- 488 unchanged lines hidden (view full) ---

513 */
514
515 /* EMPTY */
516 }
517 else
518 if (xunlink(queuename(e, ANYQFL_LETTER)) == 0)
519 {
520 /* add to available space in filesystem */
521 updfs(e, true, !panic);
521 updfs(e, -1, panic ? 0 : -1, "dropenvelope");
522 }
523
524 if (e->e_ntries > 0 && LogLevel > 9)
525 sm_syslog(LOG_INFO, id, "done; delay=%s, ntries=%d",
526 pintvl(curtime() - e->e_ctime, true),
527 e->e_ntries);
528 }
529 else if (queueit || !bitset(EF_INQUEUE, e->e_flags))

--- 728 unchanged lines hidden ---
522 }
523
524 if (e->e_ntries > 0 && LogLevel > 9)
525 sm_syslog(LOG_INFO, id, "done; delay=%s, ntries=%d",
526 pintvl(curtime() - e->e_ctime, true),
527 e->e_ntries);
528 }
529 else if (queueit || !bitset(EF_INQUEUE, e->e_flags))

--- 728 unchanged lines hidden ---