aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-04 18:13:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-04 18:13:02 +0800
commit8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea (patch)
tree3c18f987aac4ba55b7ad48e63856205e677b508c /camel/providers
parentda26534a64a117ab465de1f238db1a67d4ac9ade (diff)
downloadgsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.tar
gsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.tar.gz
gsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.tar.bz2
gsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.tar.lz
gsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.tar.xz
gsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.tar.zst
gsoc2013-evolution-8a1e5f2367b7df07a7d53d57e3f94e826c7b9dea.zip
added 'expunge' parameter, easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com> * camel-store.c (camel_store_sync): added 'expunge' parameter, easier 'empty trash on exit' call. 2004-02-04 Not Zed <NotZed@Ximian.com> * 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
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c3
1 files changed, 3 insertions, 0 deletions
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;