diff options
Diffstat (limited to 'camel/providers/groupwise')
-rw-r--r-- | camel/providers/groupwise/camel-groupwise-provider.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/groupwise/camel-groupwise-provider.c b/camel/providers/groupwise/camel-groupwise-provider.c index 34a47e8ef5..bf0d7e4073 100644 --- a/camel/providers/groupwise/camel-groupwise-provider.c +++ b/camel/providers/groupwise/camel-groupwise-provider.c @@ -131,8 +131,9 @@ void camel_provider_module_init(void) { CamelProvider *imap_provider; + CamelException ex = CAMEL_EXCEPTION_INITIALISER; - imap_provider = camel_provider_get("imap://", NULL); + imap_provider = camel_provider_get("imap://", &ex); groupwise_provider.url_hash = groupwise_url_hash; groupwise_provider.url_equal = groupwise_url_equal; groupwise_provider.auto_detect = groupwise_auto_detect_cb; @@ -140,6 +141,8 @@ camel_provider_module_init(void) if (imap_provider != NULL) { groupwise_provider.object_types[CAMEL_PROVIDER_STORE] = imap_provider->object_types [CAMEL_PROVIDER_STORE]; camel_provider_register(&groupwise_provider); + } else { + camel_exception_clear(&ex); } if (!config_listener) { |