aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);