aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-04-21 07:50:20 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-04-21 07:50:20 +0800
commit78fb5ab76183903f9ecb5f94481560f6d66480d9 (patch)
treea23231aa201689fc3da9e74af32370cc1f442f79 /tests
parent581eb2cc3c0c4a8e4456dca8d15a25562955b4fe (diff)
downloadgsoc2013-evolution-78fb5ab76183903f9ecb5f94481560f6d66480d9.tar.gz
gsoc2013-evolution-78fb5ab76183903f9ecb5f94481560f6d66480d9.tar.zst
gsoc2013-evolution-78fb5ab76183903f9ecb5f94481560f6d66480d9.zip
Merged from NEW_PARSER branch.
svn path=/trunk/; revision=2533
Diffstat (limited to 'tests')
-rw-r--r--tests/test11.c22
1 files changed, 11 insertions, 11 deletions
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 <camel/camel.h>
+#include <camel/camel-exception.h>
+#include <camel/camel-folder.h>
+#include <camel/md5-utils.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
@@ -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);
}