changeset 8998:86cdd80b9b11 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:12 -0400
parents cceea391d04d
children afc1b0ef120d
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 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 @@
 		*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) {