]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE.
authorTimo Sirainen <tss@iki.fi>
Wed, 11 Jun 2008 13:11:03 +0000 (16:11 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 11 Jun 2008 13:11:03 +0000 (16:11 +0300)
--HG--
branch : HEAD

src/imap/cmd-close.c

index 9a71625c677756687c3d242efb05f30860794a7c..bcb2fa92aa3c0e560d22a4c5321678a770e92db0 100644 (file)
@@ -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);