aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/groupwise/camel-groupwise-provider.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 467bdb2e67..06e78025c4 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-16 Not Zed <NotZed@Ximian.com>
+
+ * providers/groupwise/camel-groupwise-provider.c
+ (camel_provider_module_init): pass an exception handle to
+ camel_provider_get.
+
2004-08-13 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-summary.c (imap4_summary_fetch_all):
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) {