aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/folder/test8.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-20 04:14:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-20 04:14:15 +0800
commit5fb3a28aba18266a1cfc3759e6fc271a86531cb8 (patch)
treee39511d1d99ab08b529ea61f43df690b1f3b0b2a /camel/tests/folder/test8.c
parent520d7194c4837f288733b29fa69f9cdde524fe38 (diff)
downloadgsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.gz
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.bz2
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.lz
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.xz
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.tar.zst
gsoc2013-evolution-5fb3a28aba18266a1cfc3759e6fc271a86531cb8.zip
Updated to pass the needed arguments to camel_init() and to init gthreads
2002-08-19 Jeffrey Stedfast <fejj@ximian.com> * tests/lib/camel-test.c (camel_test_init): Updated to pass the needed arguments to camel_init() and to init gthreads before camel (since camel expectes it to be initialised already). * tests/lib/session.c: #include <config.h> needed for ENABLE_THREADS so that sizeof (CamelSessionClass) gives the correct size. * tests/*: Updated to work with camel API changes. svn path=/trunk/; revision=17805
Diffstat (limited to 'camel/tests/folder/test8.c')
-rw-r--r--camel/tests/folder/test8.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/tests/folder/test8.c b/camel/tests/folder/test8.c
index cf8a7ecc8a..c039af5eb0 100644
--- a/camel/tests/folder/test8.c
+++ b/camel/tests/folder/test8.c
@@ -1,5 +1,7 @@
/* threaded folder testing */
+#include <string.h>
+
#include "camel-test.h"
#include "folders.h"
#include "messages.h"
@@ -54,7 +56,7 @@ test_add_message(CamelFolder *folder, int j)
pull();
push("appending simple message %d", j);
- camel_folder_append_message(folder, msg, NULL, &ex);
+ camel_folder_append_message(folder, msg, NULL, NULL, &ex);
check_msg(!camel_exception_is_set(&ex), "%s", camel_exception_get_description(&ex));
pull();