dovecot-2.1: dsync: Treat \Nonexistent mailboxes the same as \No...

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 25 16:29:32 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/cb78154a9c0c
changeset: 14475:cb78154a9c0c
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 25 16:29:22 2012 +0300
description:
dsync: Treat \Nonexistent mailboxes the same as \Noselect mailboxes.

diffstat:

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

diffs (12 lines):

diff -r d2b01dcce79f -r cb78154a9c0c src/doveadm/dsync/dsync-worker-local.c
--- a/src/doveadm/dsync/dsync-worker-local.c	Wed Apr 25 02:48:36 2012 +0300
+++ b/src/doveadm/dsync/dsync-worker-local.c	Wed Apr 25 16:29:22 2012 +0300
@@ -543,7 +543,7 @@
 		dsync_box_r->last_change = dir_change->last_rename;
 	}
 
-	if ((info->flags & MAILBOX_NOSELECT) != 0) {
+	if ((info->flags & (MAILBOX_NOSELECT | MAILBOX_NONEXISTENT)) != 0) {
 		dsync_box_r->flags |= DSYNC_MAILBOX_FLAG_NOSELECT;
 		local_dsync_worker_add_mailbox(worker, info->ns, info->name,
 					       &dsync_box_r->name_sha1);


More information about the dovecot-cvs mailing list