dovecot-2.0: mbox: When skipping subscriptions file, use the con...

dovecot at dovecot.org dovecot at dovecot.org
Fri May 1 03:00:25 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/430eabd745a1
changeset: 9188:430eabd745a1
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 30 19:59:27 2009 -0400
description:
mbox: When skipping subscriptions file, use the configured filename instead of hardcoded one.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/mbox/mbox-storage.c |    2 +-

diffs (12 lines):

diff -r f86e83fa9dd4 -r 430eabd745a1 src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c	Thu Apr 30 19:18:48 2009 -0400
+++ b/src/lib-storage/index/mbox/mbox-storage.c	Thu Apr 30 19:59:27 2009 -0400
@@ -857,7 +857,7 @@ static int mbox_list_iter_is_mailbox(str
 		*flags |= MAILBOX_NOSELECT;
 		return 0;
 	}
-	if (strcmp(fname, MBOX_SUBSCRIPTION_FILE_NAME) == 0) {
+	if (strcmp(fname, ctx->list->set.subscription_fname) == 0) {
 		root_dir = mailbox_list_get_path(storage->list, NULL,
 						 MAILBOX_LIST_PATH_TYPE_DIR);
 		if (strcmp(root_dir, dir) == 0) {


More information about the dovecot-cvs mailing list