From e2dca55045e771cb9a27110bd7aea442717ba18e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 23 May 2000 03:47:23 +0000 Subject: junk svn path=/trunk/; revision=3172 --- camel/camel-mime-filter-smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/camel-mime-filter-smtp.c b/camel/camel-mime-filter-smtp.c index 79986fe959..137b38689d 100644 --- a/camel/camel-mime-filter-smtp.c +++ b/camel/camel-mime-filter-smtp.c @@ -101,7 +101,7 @@ filter(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, s /* first, see if we need to escape any from's */ while (inptr < inend) { - register int c = -1; + register gint c = -1; if (midline) while (inptr < inend && (c = *inptr++) != '\n') @@ -143,7 +143,7 @@ filter(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, s tail = node; inptr += 5; } else { - if (!strncmp(inptr, ".\n", 2)) { + if (!strncmp(inptr, ".\n", 2) || !strncmp(inptr, ".\r\n", 3)) { dotcount++; node = alloca(sizeof(*node)); node->type = DOT_NODE; -- cgit v1.2.3