dovecot: Crashfix at startup

dovecot at dovecot.org dovecot at dovecot.org
Sun Aug 12 15:10:43 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/3fabc189d17c
changeset: 6266:3fabc189d17c
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 12 15:05:13 2007 +0300
description:
Crashfix at startup

diffstat:

1 file changed, 3 insertions(+), 3 deletions(-)
src/lib-storage/index/mbox/mbox-storage.c |    6 +++---

diffs (20 lines):

diff -r 0ee2b0691f3e -r 3fabc189d17c src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c	Sat Aug 11 14:35:36 2007 +0300
+++ b/src/lib-storage/index/mbox/mbox-storage.c	Sun Aug 12 15:05:13 2007 +0300
@@ -443,13 +443,13 @@ static int mbox_create(struct mail_stora
 	_storage->list->v.iter_is_mailbox = mbox_list_iter_is_mailbox;
 	_storage->list->v.delete_mailbox = mbox_list_delete_mailbox;
 
+	MODULE_CONTEXT_SET_FULL(_storage->list, mbox_mailbox_list_module,
+				storage, &storage->list_module_ctx);
+
 	/* finish list init after we've overridden vfuncs */
 	mailbox_list_init(_storage->list, _storage->ns, &list_set,
 			  mail_storage_get_list_flags(_storage->flags) |
 			  MAILBOX_LIST_FLAG_MAILBOX_FILES);
-
-	MODULE_CONTEXT_SET_FULL(_storage->list, mbox_mailbox_list_module,
-				storage, &storage->list_module_ctx);
 	return 0;
 }
 


More information about the dovecot-cvs mailing list