aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-05-23 11:47:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-05-23 11:47:23 +0800
commite2dca55045e771cb9a27110bd7aea442717ba18e (patch)
tree74776f452367549515b3d51d4f03a39838d6b7b1 /camel
parentfa0138dffc9f0afa25c3af11624162b7bb5efcca (diff)
downloadgsoc2013-evolution-e2dca55045e771cb9a27110bd7aea442717ba18e.tar.gz
gsoc2013-evolution-e2dca55045e771cb9a27110bd7aea442717ba18e.tar.zst
gsoc2013-evolution-e2dca55045e771cb9a27110bd7aea442717ba18e.zip
junk
svn path=/trunk/; revision=3172
Diffstat (limited to 'camel')
-rw-r--r--camel/camel-mime-filter-smtp.c4
1 files changed, 2 insertions, 2 deletions
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;