dovecot-1.2: CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 12 01:35:23 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/a36001eb64af
changeset: 7818:a36001eb64af
user: Timo Sirainen <tss at iki.fi>
date: Wed Jun 11 16:11:03 2008 +0300
description:
CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/imap/cmd-close.c | 4 ++--
diffs (14 lines):
diff -r ffaf1ea49704 -r a36001eb64af src/imap/cmd-close.c
--- a/src/imap/cmd-close.c Wed Jun 11 15:44:35 2008 +0300
+++ b/src/imap/cmd-close.c Wed Jun 11 16:11:03 2008 +0300
@@ -38,8 +38,8 @@ bool cmd_close(struct client_command_con
it by syncing the mailbox one last time. We wouldn't need
to include our own expunge in there, but it's too much
trouble to hide it. */
- return cmd_sync(cmd, 0, IMAP_SYNC_FLAG_SAFE,
- "OK Close completed.");
+ return cmd_sync(cmd, MAILBOX_SYNC_FLAG_EXPUNGE,
+ IMAP_SYNC_FLAG_SAFE, "OK Close completed.");
} else {
if (mailbox_sync(mailbox, 0, 0, NULL) < 0)
client_send_untagged_storage_error(client, storage);
More information about the dovecot-cvs
mailing list