Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5308:7782f0be811d HEAD
If we fail opening/creating the mailbox list indexes, don't crash.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 14 Mar 2007 18:49:14 +0200 |
parents | 1e2b2b3f18e3 |
children | 912213be8e8a |
files | src/lib-storage/list/index-mailbox-list.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/list/index-mailbox-list.c Wed Mar 14 18:17:49 2007 +0200 +++ b/src/lib-storage/list/index-mailbox-list.c Wed Mar 14 18:49:14 2007 +0200 @@ -416,6 +416,7 @@ index_mailbox_list_sync_init_list(list); if (index_mailbox_list_open_indexes(list, dir) < 0) { + list->v = ilist->super; mail_index_free(&ilist->mail_index); array_idx_clear(&list->module_contexts, index_mailbox_list_module_id);