From: Timo Sirainen Date: Wed, 11 Jun 2008 13:11:03 +0000 (+0300) Subject: CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE. X-Git-Tag: 1.2.alpha1~343 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82d94d344d43437ad25edae8dafd399196b2d4ca;p=thirdparty%2Fdovecot%2Fcore.git CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE. --HG-- branch : HEAD --- diff --git a/src/imap/cmd-close.c b/src/imap/cmd-close.c index 9a71625c67..bcb2fa92aa 100644 --- a/src/imap/cmd-close.c +++ b/src/imap/cmd-close.c @@ -38,8 +38,8 @@ bool cmd_close(struct client_command_context *cmd) 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);