From 78fb5ab76183903f9ecb5f94481560f6d66480d9 Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Thu, 20 Apr 2000 23:50:20 +0000 Subject: Merged from NEW_PARSER branch. svn path=/trunk/; revision=2533 --- tests/test11.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tests') diff --git a/tests/test11.c b/tests/test11.c index ee97d84cdb..ea6d7fcc49 100644 --- a/tests/test11.c +++ b/tests/test11.c @@ -5,10 +5,10 @@ */ -#include "camel.h" -#include "camel-exception.h" -#include "camel-folder-summary.h" -#include "md5-utils.h" +#include +#include +#include +#include #include #include #include @@ -47,15 +47,15 @@ search_cb(CamelFolder *folder, int id, gboolean complete, GList *matches, struct if (camel_exception_get_id (sd->ex)) { printf ("Cannot get message\n" "Full description : %s\n", camel_exception_get_description (sd->ex)); - } - - camel_folder_append_message(sd->outbox, m, sd->ex); + } else { - if (camel_exception_get_id (sd->ex)) { - printf ("Cannot save message\n" - "Full description : %s\n", camel_exception_get_description (sd->ex)); + camel_folder_append_message(sd->outbox, m, sd->ex); + + if (camel_exception_get_id (sd->ex)) { + printf ("Cannot save message\n" + "Full description : %s\n", camel_exception_get_description (sd->ex)); + } } - n = g_list_next(n); } -- cgit v1.2.3