Mercurial > dovecot > core-2.2
changeset 12652:31b633336ab5
lib-storage: Crashfix to removing deleted mailboxes from mailbox list index.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 12 Feb 2011 00:15:04 +0200 |
parents | 238bafcca676 |
children | e2605d2d6b33 |
files | src/lib-storage/list/index-mailbox-list.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/list/index-mailbox-list.c Sat Feb 12 00:02:02 2011 +0200 +++ b/src/lib-storage/list/index-mailbox-list.c Sat Feb 12 00:15:04 2011 +0200 @@ -246,7 +246,8 @@ struct index_mailbox_node **prev; prev = node->parent == NULL ? - &sync_ctx->ilist->mailbox_tree : &node->parent; + &sync_ctx->ilist->mailbox_tree : + &node->parent->children; while (*prev != node) prev = &(*prev)->next;