dovecot-2.2: dsync: Don't try to access mailboxes with no_mail_s...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 13 04:35:25 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/d8fc9bba98ab
changeset: 16504:d8fc9bba98ab
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 13 04:33:41 2013 +0300
description:
dsync: Don't try to access mailboxes with no_mail_sync flag enabled.
diffstat:
src/doveadm/dsync/dsync-brain-mailbox.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 5ed2f41431c4 -r d8fc9bba98ab src/doveadm/dsync/dsync-brain-mailbox.c
--- a/src/doveadm/dsync/dsync-brain-mailbox.c Thu Jun 13 03:26:22 2013 +0300
+++ b/src/doveadm/dsync/dsync-brain-mailbox.c Thu Jun 13 04:33:41 2013 +0300
@@ -401,6 +401,9 @@
{
int ret;
+ if (brain->no_mail_sync)
+ return FALSE;
+
while ((ret = dsync_brain_try_next_mailbox(brain, box_r, dsync_box_r)) == 0)
;
return ret > 0;
More information about the dovecot-cvs
mailing list