From 87590252919a43ad6375d9b19243bd750137dbcb Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 16 Jan 2002 21:44:54 +0000 Subject: Fixed slight logic error to find the uuencode begin line. Fixes bug 2002-01-16 Jeffrey Stedfast * camel-mime-filter-basic.c (filter): Fixed slight logic error to find the uuencode begin line. Fixes bug #18754. svn path=/trunk/; revision=15346 --- camel/ChangeLog | 5 +++++ camel/camel-mime-filter-basic.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * camel-mime-filter-basic.c (filter): Fixed slight logic error to + find the uuencode begin line. Fixes bug #18754. + 2002-01-15 Jeffrey Stedfast * 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 + * Jeffrey Stedfast * * 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++; -- cgit v1.2.3