From 2372e16bfae0a245bfde6e908cde0919aa11ee0b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 16 Dec 2009 18:18:02 -0500 Subject: [PATCH] Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't used anywhere. --HG-- branch : HEAD --- src/imap/imap-sync.c | 3 +-- src/lib-storage/mail-storage.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/imap/imap-sync.c b/src/imap/imap-sync.c index de743926b0..2bded00113 100644 --- a/src/imap/imap-sync.c +++ b/src/imap/imap-sync.c @@ -559,8 +559,7 @@ static void get_common_sync_flags(struct client *client, 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 --git a/src/lib-storage/mail-storage.h b/src/lib-storage/mail-storage.h index f58e784553..d517387003 100644 --- a/src/lib-storage/mail-storage.h +++ b/src/lib-storage/mail-storage.h @@ -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 -- 2.47.3