summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/mime.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2005-02-14 02:30:00 +0000
committergshapiro <gshapiro@FreeBSD.org>2005-02-14 02:30:00 +0000
commit9883351c45502bc6aec878ba11d8ef5fe1843397 (patch)
treed9cfa9f19110fa167a0fec9f07c6fcfacd77aafb /contrib/sendmail/src/mime.c
parent1fc446a819a244515d9461fa50d34ee191414d6f (diff)
downloadFreeBSD-src-9883351c45502bc6aec878ba11d8ef5fe1843397.zip
FreeBSD-src-9883351c45502bc6aec878ba11d8ef5fe1843397.tar.gz
Import sendmail 8.13.3
Diffstat (limited to 'contrib/sendmail/src/mime.c')
-rw-r--r--contrib/sendmail/src/mime.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/sendmail/src/mime.c b/contrib/sendmail/src/mime.c
index 6f4e782..fd3e65a 100644
--- a/contrib/sendmail/src/mime.c
+++ b/contrib/sendmail/src/mime.c
@@ -14,7 +14,7 @@
#include <sendmail.h>
#include <string.h>
-SM_RCSID("@(#)$Id: mime.c,v 8.136 2004/03/22 18:21:34 ca Exp $")
+SM_RCSID("@(#)$Id: mime.c,v 8.137 2004/09/02 21:37:26 ca Exp $")
/*
** MIME support.
@@ -848,7 +848,11 @@ mimeboundary(line, boundaries)
i--;
/* strip off trailing whitespace */
- while (i > 0 && (line[i - 1] == ' ' || line[i - 1] == '\t'))
+ while (i > 0 && (line[i - 1] == ' ' || line[i - 1] == '\t'
+#if _FFR_MIME_CR_OK
+ || line[i - 1] == '\r'
+#endif /* _FFR_MIME_CR_OK */
+ ))
i--;
savec = line[i];
line[i] = '\0';
OpenPOWER on IntegriCloud