diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 8e8d303b82..269e29bdc4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,4 +1,8 @@ -2001-04-13 Jon Trowbridge <trow@gnu.org> +2001-04-13 Jon Trowbridge <trow@ximian.com> + + * providers/imap/camel-imap-store.c (imap_disconnect): + s/imap_store/store/, fixing a typo that was causing the build to + fail. * camel-filter-search.c (get_source): Make the (previously unused) get-source command actually do the right thing, properly shrouding diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 7ff46b9850..214b9fe18b 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -734,11 +734,11 @@ imap_disconnect (CamelService *service, gboolean clean, CamelException *ex) store->subscribed_folders = NULL; } - if (imap_store->authtypes) { - g_hash_table_foreach_remove (imap_store->authtypes, + if (store->authtypes) { + g_hash_table_foreach_remove (store->authtypes, free_key, NULL); - g_hash_table_destroy (imap_store->authtypes); - imap_store->authtypes = NULL; + g_hash_table_destroy (store->authtypes); + store->authtypes = NULL; } if (store->namespace && !(store->parameters & IMAP_PARAM_OVERRIDE_NAMESPACE)) { |