dovecot-2.0: Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't...

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 17 01:19:08 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/c17386a4e594
changeset: 10508:c17386a4e594
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 16 18:18:02 2009 -0500
description:
Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't used anywhere.

diffstat:

2 files changed, 1 insertion(+), 4 deletions(-)
src/imap/imap-sync.c           |    3 +--
src/lib-storage/mail-storage.h |    2 --

diffs (25 lines):

diff -r c96b02a477a0 -r c17386a4e594 src/imap/imap-sync.c
--- 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 @@ static void get_common_sync_flags(struct
 	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)
diff -r c96b02a477a0 -r c17386a4e594 src/lib-storage/mail-storage.h
--- 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 @@ enum mailbox_sync_flags {
 
 	/* 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


More information about the dovecot-cvs mailing list