Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7818:a36001eb64af HEAD
CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 11 Jun 2008 16:11:03 +0300 |
parents | ffaf1ea49704 |
children | 59ec9752c3dd |
files | src/imap/cmd-close.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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);