aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-17 05:44:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-17 05:44:54 +0800
commit87590252919a43ad6375d9b19243bd750137dbcb (patch)
tree1abbe26686ee66d0f9c274af7f8eca4b6982bcb8
parent94848b9a226322a2583c51aee0c1f67877ab57d1 (diff)
downloadgsoc2013-evolution-87590252919a43ad6375d9b19243bd750137dbcb.tar.gz
gsoc2013-evolution-87590252919a43ad6375d9b19243bd750137dbcb.tar.zst
gsoc2013-evolution-87590252919a43ad6375d9b19243bd750137dbcb.zip
Fixed slight logic error to find the uuencode begin line. Fixes bug
2002-01-16 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-basic.c (filter): Fixed slight logic error to find the uuencode begin line. Fixes bug #18754. svn path=/trunk/; revision=15346
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-filter-basic.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 44b571ac7b..2400ab049c 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-16 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-mime-filter-basic.c (filter): Fixed slight logic error to
+ find the uuencode begin line. Fixes bug #18754.
+
2002-01-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_send_to): Updated to
diff --git a/camel/camel-mime-filter-basic.c b/camel/camel-mime-filter-basic.c
index 4f56f46bba..494f7ead7f 100644
--- a/camel/camel-mime-filter-basic.c
+++ b/camel/camel-mime-filter-basic.c
@@ -2,6 +2,7 @@
* Copyright (C) 2000 Ximian Inc.
*
* Authors: Michael Zucchi <notzed@ximian.com>
+ * Jeffrey Stedfast <fejj@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -221,7 +222,7 @@ filter(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, s
}
/* go to the next line */
- for (inptr++; inptr < inend && *inptr != '\n'; inptr++);
+ for ( ; inptr < inend && *inptr != '\n'; inptr++);
if (inptr < inend)
inptr++;