aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c2
1 files changed, 1 insertions, 1 deletions
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);