aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/session.c')
-rw-r--r--mail/session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/session.c b/mail/session.c
index 24197951f3..e0390c380f 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -23,9 +23,12 @@ SessionStore *
session_store_new (const char *uri)
{
SessionStore *ss = g_new (SessionStore, 1);
+ CamelException *ex;
ss->session = camel_session_new ();
- ss->store = camel_session_get_store (ss->session, uri);
+ ex = camel_exception_new ();
+ ss->store = camel_session_get_store (ss->session, uri, ex);
+ camel_exception_free (ex);
g_assert (ss->session);
g_assert (ss->store);