]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: mailbox_list_index setting meaning was reversed.
authorTimo Sirainen <tss@iki.fi>
Sat, 12 Feb 2011 02:59:44 +0000 (04:59 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 12 Feb 2011 02:59:44 +0000 (04:59 +0200)
src/lib-storage/list/index-mailbox-list.c

index cecc9f96e78b6119566e67788800b242c36616bd..74a1ab52f4e64ebc7e96b5f4d690883eba9d8c8e 100644 (file)
@@ -799,7 +799,7 @@ static void index_mailbox_list_created(struct mailbox_list *list)
        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;