From e1de51e60e715983d1063810ac0cbfd80f99cc2c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 15 Jun 2000 22:18:48 +0000 Subject: 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 --- camel/ChangeLog | 3 +++ camel/providers/mbox/camel-mbox-summary.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 + * 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); -- cgit