diff options
Diffstat (limited to 'mail/session.c')
-rw-r--r-- | mail/session.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/session.c b/mail/session.c index a97b70ed26..1005d9cd4e 100644 --- a/mail/session.c +++ b/mail/session.c @@ -63,12 +63,12 @@ SessionStore * session_store_new (const char *uri) { SessionStore *ss = g_new (SessionStore, 1); - CamelException *ex; + CamelException ex; ss->session = camel_session_new (evolution_auth_callback); - ex = camel_exception_new (); - ss->store = camel_session_get_store (ss->session, uri, ex); - camel_exception_free (ex); + camel_exception_init (&ex); + ss->store = camel_session_get_store (ss->session, uri, &ex); + g_assert (ss->session); g_assert (ss->store); |