dovecot-2.2: dsync: Removed unused DSYNC_MAILBOX_IMPORT_FLAG_MAI...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Feb 10 23:12:04 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/9a9d408336ea
changeset: 15743:9a9d408336ea
user: Timo Sirainen <tss at iki.fi>
date: Sun Feb 10 23:09:55 2013 +0200
description:
dsync: Removed unused DSYNC_MAILBOX_IMPORT_FLAG_MAILS_HAVE_GUIDS flag.
diffstat:
src/doveadm/dsync/dsync-brain-mailbox.c | 2 --
src/doveadm/dsync/dsync-mailbox-import.c | 3 ---
src/doveadm/dsync/dsync-mailbox-import.h | 5 ++---
3 files changed, 2 insertions(+), 8 deletions(-)
diffs (47 lines):
diff -r 28db20f9c0cf -r 9a9d408336ea src/doveadm/dsync/dsync-brain-mailbox.c
--- a/src/doveadm/dsync/dsync-brain-mailbox.c Sun Feb 10 23:05:46 2013 +0200
+++ b/src/doveadm/dsync/dsync-brain-mailbox.c Sun Feb 10 23:09:55 2013 +0200
@@ -205,8 +205,6 @@
import_flags |= DSYNC_MAILBOX_IMPORT_FLAG_WANT_MAIL_REQUESTS;
if (brain->master_brain)
import_flags |= DSYNC_MAILBOX_IMPORT_FLAG_MASTER_BRAIN;
- if (brain->mails_have_guids)
- import_flags |= DSYNC_MAILBOX_IMPORT_FLAG_MAILS_HAVE_GUIDS;
if (brain->backup_recv)
import_flags |= DSYNC_MAILBOX_IMPORT_FLAG_REVERT_LOCAL_CHANGES;
if (brain->debug)
diff -r 28db20f9c0cf -r 9a9d408336ea src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c Sun Feb 10 23:05:46 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-import.c Sun Feb 10 23:09:55 2013 +0200
@@ -84,7 +84,6 @@
unsigned int local_expunged_guids_set:1;
unsigned int new_uids_assigned:1;
unsigned int want_mail_requests:1;
- unsigned int mails_have_guids:1;
unsigned int master_brain:1;
unsigned int revert_local_changes:1;
};
@@ -164,8 +163,6 @@
i_array_init(&importer->mail_requests, 128);
importer->want_mail_requests = TRUE;
}
- importer->mails_have_guids =
- (flags & DSYNC_MAILBOX_IMPORT_FLAG_MAILS_HAVE_GUIDS) != 0;
importer->master_brain =
(flags & DSYNC_MAILBOX_IMPORT_FLAG_MASTER_BRAIN) != 0;
importer->revert_local_changes =
diff -r 28db20f9c0cf -r 9a9d408336ea src/doveadm/dsync/dsync-mailbox-import.h
--- a/src/doveadm/dsync/dsync-mailbox-import.h Sun Feb 10 23:05:46 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-import.h Sun Feb 10 23:09:55 2013 +0200
@@ -4,9 +4,8 @@
enum dsync_mailbox_import_flags {
DSYNC_MAILBOX_IMPORT_FLAG_MASTER_BRAIN = 0x01,
DSYNC_MAILBOX_IMPORT_FLAG_WANT_MAIL_REQUESTS = 0x02,
- DSYNC_MAILBOX_IMPORT_FLAG_MAILS_HAVE_GUIDS = 0x04,
- DSYNC_MAILBOX_IMPORT_FLAG_REVERT_LOCAL_CHANGES = 0x08,
- DSYNC_MAILBOX_IMPORT_FLAG_DEBUG = 0x10
+ DSYNC_MAILBOX_IMPORT_FLAG_REVERT_LOCAL_CHANGES = 0x04,
+ DSYNC_MAILBOX_IMPORT_FLAG_DEBUG = 0x08
};
struct mailbox;
More information about the dovecot-cvs
mailing list