Mercurial > dovecot > core-2.2
changeset 10508:c17386a4e594 HEAD
Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't used anywhere.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 16 Dec 2009 18:18:02 -0500 |
parents | c96b02a477a0 |
children | 50364f04cf13 |
files | src/imap/imap-sync.c src/lib-storage/mail-storage.h |
diffstat | 2 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-sync.c Wed Dec 16 15:57:07 2009 -0500 +++ b/src/imap/imap-sync.c Wed Dec 16 18:18:02 2009 -0500 @@ -559,8 +559,7 @@ if (fast_count != count) *flags_r &= ~MAILBOX_SYNC_FLAG_FAST; - i_assert((*flags_r & (MAILBOX_SYNC_AUTO_STOP | - MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) == 0); + i_assert((*flags_r & MAILBOX_SYNC_FLAG_FIX_INCONSISTENT) == 0); } static bool cmd_sync_client(struct client_command_context *sync_cmd)
--- a/src/lib-storage/mail-storage.h Wed Dec 16 15:57:07 2009 -0500 +++ b/src/lib-storage/mail-storage.h Wed Dec 16 18:18:02 2009 -0500 @@ -146,8 +146,6 @@ /* Don't sync expunges from our view */ MAILBOX_SYNC_FLAG_NO_EXPUNGES = 0x08, - /* Stop auto syncing */ - MAILBOX_SYNC_AUTO_STOP = 0x20, /* If mailbox is currently inconsistent, fix it instead of failing. */ MAILBOX_SYNC_FLAG_FIX_INCONSISTENT = 0x40, /* Syncing after an EXPUNGE command. This is just an informational