diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2001-08-01 01:33:27 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2001-08-01 01:33:27 +0000 |
commit | 1164bba81c60839834c20d6e34983b4cfb9c05b4 (patch) | |
tree | 1b106cba9bbe44e5768f7bfba991f9fc8a74429b /contrib/sendmail/src/collect.c | |
parent | 5338b6ff5f88e435da457fd0ec979a333012a0ef (diff) | |
download | FreeBSD-src-1164bba81c60839834c20d6e34983b4cfb9c05b4.zip FreeBSD-src-1164bba81c60839834c20d6e34983b4cfb9c05b4.tar.gz |
Import sendmail 8.11.5
Diffstat (limited to 'contrib/sendmail/src/collect.c')
-rw-r--r-- | contrib/sendmail/src/collect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/sendmail/src/collect.c b/contrib/sendmail/src/collect.c index e9a2006..fcf3117 100644 --- a/contrib/sendmail/src/collect.c +++ b/contrib/sendmail/src/collect.c @@ -12,7 +12,7 @@ */ #ifndef lint -static char id[] = "@(#)$Id: collect.c,v 8.136.4.21 2001/05/17 18:10:14 gshapiro Exp $"; +static char id[] = "@(#)$Id: collect.c,v 8.136.4.22 2001/06/07 21:01:02 ca Exp $"; #endif /* ! lint */ #include <sendmail.h> @@ -352,7 +352,8 @@ bufferchar: { *bp++ = c; hdrslen++; - if (MaxHeadersLength > 0 && + if (!headeronly && + MaxHeadersLength > 0 && hdrslen > MaxHeadersLength) { sm_syslog(LOG_NOTICE, e->e_id, |