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

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


details:   http://hg.dovecot.org/dovecot-1.2/rev/86cdd80b9b11
changeset: 8998:86cdd80b9b11
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 30 19:59:12 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 cceea391d04d -r 86cdd80b9b11 src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c	Thu Apr 30 18:49:26 2009 -0400
+++ b/src/lib-storage/index/mbox/mbox-storage.c	Thu Apr 30 19:59:12 2009 -0400
@@ -860,7 +860,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