changeset 12657:03a8767cb9e5

lib-storage: mailbox_list_index setting meaning was reversed.
author Timo Sirainen <tss@iki.fi>
date Sat, 12 Feb 2011 04:59:44 +0200
parents b281619735c6
children 078419bc739a
files src/lib-storage/list/index-mailbox-list.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/list/index-mailbox-list.c	Sat Feb 12 04:50:03 2011 +0200
+++ b/src/lib-storage/list/index-mailbox-list.c	Sat Feb 12 04:59:44 2011 +0200
@@ -799,7 +799,7 @@
 	const char *dir;
 
 	dir = mailbox_list_get_path(list, NULL, MAILBOX_LIST_PATH_TYPE_INDEX);
-	if (list->mail_set->mailbox_list_index) {
+	if (!list->mail_set->mailbox_list_index) {
 		/* reserve the module context anyway, so syncing code knows
 		   that the index is disabled */
 		ilist = NULL;