From 1164bba81c60839834c20d6e34983b4cfb9c05b4 Mon Sep 17 00:00:00 2001 From: gshapiro Date: Wed, 1 Aug 2001 01:33:27 +0000 Subject: Import sendmail 8.11.5 --- contrib/sendmail/src/collect.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'contrib/sendmail/src/collect.c') 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 @@ -352,7 +352,8 @@ bufferchar: { *bp++ = c; hdrslen++; - if (MaxHeadersLength > 0 && + if (!headeronly && + MaxHeadersLength > 0 && hdrslen > MaxHeadersLength) { sm_syslog(LOG_NOTICE, e->e_id, -- cgit v1.1