Deleted Added
full compact
collect.c (203004) collect.c (244833)
1/*
2 * Copyright (c) 1998-2006, 2008 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-2006, 2008 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: collect.c,v 8.284 2008/08/06 05:26:24 ca Exp $")
16SM_RCSID("@(#)$Id: collect.c,v 8.285 2012/06/14 23:54:02 ca Exp $")
17
18static void eatfrom __P((char *volatile, ENVELOPE *));
19static void collect_doheader __P((ENVELOPE *));
20static SM_FILE_T *collect_dfopen __P((ENVELOPE *));
21static SM_FILE_T *collect_eoh __P((ENVELOPE *, int, int));
22
23/*
24** COLLECT_EOH -- end-of-header processing in collect()

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

864 {
865 e->e_status = "5.2.3";
866 usrerrenh(e->e_status,
867 "552 Message exceeds maximum fixed size (%ld)",
868 MaxMessageSize);
869 if (LogLevel > 6)
870 sm_syslog(LOG_NOTICE, e->e_id,
871 "message size (%ld) exceeds maximum (%ld)",
17
18static void eatfrom __P((char *volatile, ENVELOPE *));
19static void collect_doheader __P((ENVELOPE *));
20static SM_FILE_T *collect_dfopen __P((ENVELOPE *));
21static SM_FILE_T *collect_eoh __P((ENVELOPE *, int, int));
22
23/*
24** COLLECT_EOH -- end-of-header processing in collect()

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

864 {
865 e->e_status = "5.2.3";
866 usrerrenh(e->e_status,
867 "552 Message exceeds maximum fixed size (%ld)",
868 MaxMessageSize);
869 if (LogLevel > 6)
870 sm_syslog(LOG_NOTICE, e->e_id,
871 "message size (%ld) exceeds maximum (%ld)",
872 e->e_msgsize, MaxMessageSize);
872 PRT_NONNEGL(e->e_msgsize),
873 MaxMessageSize);
873 }
874 }
875
876 /* check for illegal 8-bit data */
877 if (HasEightBits)
878 {
879 e->e_flags |= EF_HAS8BIT;
880 if (!bitset(MM_PASS8BIT|MM_MIME8BIT, MimeMode) &&

--- 225 unchanged lines hidden ---
874 }
875 }
876
877 /* check for illegal 8-bit data */
878 if (HasEightBits)
879 {
880 e->e_flags |= EF_HAS8BIT;
881 if (!bitset(MM_PASS8BIT|MM_MIME8BIT, MimeMode) &&

--- 225 unchanged lines hidden ---