aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test11.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test11.c b/tests/test11.c
index 3625ead26b..443f49e788 100644
--- a/tests/test11.c
+++ b/tests/test11.c
@@ -85,7 +85,12 @@ main (int argc, char**argv)
printf("Search for messages\n");
- matches = camel_folder_search_by_expression (folder, "(match-all (header-contains \"subject\" \"gnome\"))", ex);
+#warning "track api change here"
+ matches = camel_folder_search_by_expression (folder,
+ "(match-all (header-contains \"subject\" \"gnome\"))",
+ /* func */ NULL,
+ /* data */ NULL,
+ ex);
if (matches) {
GList *n;
@@ -94,7 +99,7 @@ main (int argc, char**argv)
while (n) {
CamelMimeMessage *m;
- printf("uid: %s\n", n->data);
+ printf("uid: %s\n", (char *) n->data);
m = camel_folder_get_message_by_uid(folder, n->data, ex);
if (camel_exception_get_id (ex)) {