[dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.5, 1.6
tss at dovecot.org
tss at dovecot.org
Wed Mar 14 18:49:16 EET 2007
Update of /var/lib/cvs/dovecot/src/lib-storage/list
In directory talvi:/tmp/cvs-serv13619
Modified Files:
index-mailbox-list.c
Log Message:
If we fail opening/creating the mailbox list indexes, don't crash.
Index: index-mailbox-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/list/index-mailbox-list.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- index-mailbox-list.c 18 Jan 2007 16:56:57 -0000 1.5
+++ index-mailbox-list.c 14 Mar 2007 16:49:14 -0000 1.6
@@ -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);
More information about the dovecot-cvs
mailing list