aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-16 06:18:48 +0800
committerDan Winship <danw@src.gnome.org>2000-06-16 06:18:48 +0800
commite1de51e60e715983d1063810ac0cbfd80f99cc2c (patch)
treec71162f009f27a6c05758264d98b9c8fe5eebc22 /camel
parentcb802b193c974a70e308624c6c407c8e6d5485fc (diff)
downloadgsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.tar
gsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.tar.gz
gsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.tar.bz2
gsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.tar.lz
gsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.tar.xz
gsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.tar.zst
gsoc2013-evolution-e1de51e60e715983d1063810ac0cbfd80f99cc2c.zip
fix a bug. (don't expunge deleted messages if called with expunge ==
* providers/mbox/camel-mbox-summary.c: fix a bug. (don't expunge deleted messages if called with expunge == FALSE) svn path=/trunk/; revision=3580
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index e6d3fa4f86..fbe956b644 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2000-06-15 Dan Winship <danw@helixcode.com>
+ * providers/mbox/camel-mbox-summary.c: fix a bug. (don't expunge
+ deleted messages if called with expunge == FALSE)
+
* providers/pop3/camel-pop3-store.c (connect_to_server): Check
server for various interesting extensions.
diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c
index 03f2f2f250..17af8b312b 100644
--- a/camel/providers/mbox/camel-mbox-summary.c
+++ b/camel/providers/mbox/camel-mbox-summary.c
@@ -608,7 +608,7 @@ camel_mbox_summary_sync(CamelMboxSummary *mbs, gboolean expunge)
d(printf("Looking at message %s\n", info->info.uid));
- if (info->info.flags & CAMEL_MESSAGE_DELETED) {
+ if (expunge && info->info.flags & CAMEL_MESSAGE_DELETED) {
d(printf("Deleting %s\n", info->info.uid));
g_assert(!quick);