Mercurial > dovecot > core-2.2
changeset 9188:430eabd745a1 HEAD
mbox: When skipping subscriptions file, use the configured filename instead of hardcoded one.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 30 Apr 2009 19:59:27 -0400 |
parents | f86e83fa9dd4 |
children | c0c4e6e75366 |
files | src/lib-storage/index/mbox/mbox-storage.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ *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) {