aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test10.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-22 02:39:21 +0800
committerDan Winship <danw@src.gnome.org>2000-02-22 02:39:21 +0800
commit0eff8e4321d63ef1dce20cceae8314b3628767a4 (patch)
treefc1041de3feaac309b47b9ce40019e3319dc9060 /tests/test10.c
parentd3d2adb98ce84c89f5e2c648329764d55d8ec412 (diff)
downloadgsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.tar
gsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.tar.gz
gsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.tar.bz2
gsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.tar.lz
gsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.tar.xz
gsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.tar.zst
gsoc2013-evolution-0eff8e4321d63ef1dce20cceae8314b3628767a4.zip
update for CamelSession changes
svn path=/trunk/; revision=1889
Diffstat (limited to 'tests/test10.c')
-rw-r--r--tests/test10.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test10.c b/tests/test10.c
index a8835861d6..d8a8090138 100644
--- a/tests/test10.c
+++ b/tests/test10.c
@@ -81,8 +81,12 @@ main (int argc, char**argv)
camel_provider_register_as_module ("../camel/providers/mbox/.libs/libcamelmbox.so");
session = camel_session_new ();
- store = camel_session_get_store (session, store_url);
-
+ store = camel_session_get_store (session, store_url, ex);
+ if (camel_exception_get_id (ex)) {
+ printf ("Exception caught in camel_session_get_store\n"
+ "Full description : %s\n", camel_exception_get_description (ex));
+ return -1;
+ }
folder = camel_store_get_folder (store, "Inbox", ex);
if (camel_exception_get_id (ex)) {