aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test10.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test10.c')
-rw-r--r--tests/test10.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/tests/test10.c b/tests/test10.c
index b223efb8ef..fc8cc326cf 100644
--- a/tests/test10.c
+++ b/tests/test10.c
@@ -105,17 +105,15 @@ main (int argc, char**argv)
"Full description : %s\n", camel_exception_get_description (ex));
return -1;
}
-
+
uid_list = camel_folder_get_uid_list (folder, ex);
- while (uid_list) {
- printf ("UID : %s\n", (gchar *)uid_list->data);
- uid_list = uid_list->next;
- }
-
- camel_folder_close (folder, FALSE, ex);
-
+
+
+ camel_folder_get_message_by_uid (folder, (gchar *)uid_list->data, ex);
+ camel_folder_close (folder, FALSE, ex);
return 1;
-}
+}
+