From 8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 4 Feb 2004 10:13:02 +0000 Subject: added 'expunge' parameter, easier 'empty trash on exit' call. 2004-02-04 Not Zed * camel-store.c (camel_store_sync): added 'expunge' parameter, easier 'empty trash on exit' call. 2004-02-04 Not Zed * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): if we can't add the folder to the summary {i.e. duplicate}, then ignore it. See #53836. svn path=/trunk/; revision=24606 --- camel/providers/imap/camel-imap-store.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'camel/providers') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index d02ce4117a..a2256e9865 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -2142,6 +2142,9 @@ parse_list_response_as_folder_info (CamelImapStore *imap_store, /* FIXME: should use imap_build_folder_info, note the differences with param setting tho */ si = camel_imap_store_summary_add_from_full(imap_store->summary, dir, sep?sep:'/'); + if (si == NULL) + return NULL; + newflags = (si->info.flags & CAMEL_STORE_INFO_FOLDER_SUBSCRIBED) | (flags & ~CAMEL_STORE_INFO_FOLDER_SUBSCRIBED); if (si->info.flags != newflags) { si->info.flags = newflags; -- cgit v1.2.3