# HG changeset patch # User Timo Sirainen # Date 1214040121 -10800 # Node ID 187183c360ddee4e1592f2b740f42d86d99a7fed # Parent 4a166ccec256f3c3d22afaa9f65576813f8bc076 Make sure the mailbox is opened when enabling modseqs (fixes a STATUS crash). diff -r 4a166ccec256 -r 187183c360dd src/lib-storage/index/index-storage.c --- a/src/lib-storage/index/index-storage.c Sat Jun 21 12:21:18 2008 +0300 +++ b/src/lib-storage/index/index-storage.c Sat Jun 21 12:22:01 2008 +0300 @@ -453,6 +453,8 @@ if ((feature & MAILBOX_FEATURE_CONDSTORE) != 0) { box->enabled_features |= MAILBOX_FEATURE_CONDSTORE; + if (!box->opened) + index_storage_mailbox_open(ibox); mail_index_modseq_enable(ibox->index); } return TRUE;