From 66b85f364e12a4c94faccb08906b48a9ac1452f5 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 7 Nov 2000 01:19:27 +0000 Subject: Two segfault fixes svn path=/trunk/; revision=6472 --- camel/ChangeLog | 5 +++++ camel/providers/imap/camel-imap-store.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 1c413b0ab0..c0e4ae2b38 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -155,6 +155,11 @@ * camel-mime-filter-basic.c (filter, complete): Update for base64 api change. +2000-10-30 Peter Williams + + * providers/imap/camel-imap-store.c (unsubscribe_folder): Correct + parameters to g_hash_table_lookup_extended. + 2000-10-29 Dan Winship Improved IMAP namespace handling: leave the namespace in the diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 0a8618ff90..7d87a9263e 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -769,7 +769,7 @@ unsubscribe_folder (CamelStore *store, const char *folder_name, "UNSUBSCRIBE \"%s\"", folder_name); if (response) { g_hash_table_lookup_extended (imap_store->subscribed_folders, - folder_name, key, value); + folder_name, &key, &value); g_hash_table_remove (imap_store->subscribed_folders, folder_name); g_free (key); -- cgit