# HG changeset patch # User Timo Sirainen # Date 1297479584 -7200 # Node ID 03a8767cb9e56aa566ae93c6e0e4aee767a30c8d # Parent b281619735c60fa488ea7236e7ee6609f657a27c lib-storage: mailbox_list_index setting meaning was reversed. diff -r b281619735c6 -r 03a8767cb9e5 src/lib-storage/list/index-mailbox-list.c --- 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;