dovecot-2.2: dsync: Mail requests were lost when attributes were...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 19 18:51:50 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/ccba138bc1c6
changeset: 16050:ccba138bc1c6
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 19 18:50:55 2013 +0200
description:
dsync: Mail requests were lost when attributes were being synced.

diffstat:

 src/doveadm/dsync/dsync-brain-mails.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 64c0449b8fec -r ccba138bc1c6 src/doveadm/dsync/dsync-brain-mails.c
--- a/src/doveadm/dsync/dsync-brain-mails.c	Tue Mar 19 18:48:47 2013 +0200
+++ b/src/doveadm/dsync/dsync-brain-mails.c	Tue Mar 19 18:50:55 2013 +0200
@@ -153,7 +153,7 @@
 		if (dsync_ibc_send_mail_request(brain->ibc, request) == 0)
 			return TRUE;
 	}
-	if (brain->box_recv_state <= DSYNC_BOX_STATE_CHANGES)
+	if (brain->box_recv_state < DSYNC_BOX_STATE_MAIL_REQUESTS)
 		return FALSE;
 
 	dsync_ibc_send_end_of_list(brain->ibc);


More information about the dovecot-cvs mailing list