dovecot-2.0-sslstream: lib-storage: mailbox can no longer be loo...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 03:00:52 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/9780cd3cc48a
changeset: 10659:9780cd3cc48a
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Feb 07 16:01:51 2010 +0200
description:
lib-storage: mailbox can no longer be looked up from mail_index_view.
It's not necessarily anymore and I'm not sure if they should be 1:1.

diffstat:

2 files changed, 4 deletions(-)
src/lib-storage/index/index-storage.c |    3 ---
src/lib-storage/index/index-storage.h |    1 -

diffs (24 lines):

diff -r e7f066508299 -r 9780cd3cc48a src/lib-storage/index/index-storage.c
--- a/src/lib-storage/index/index-storage.c	Sun Feb 07 15:44:33 2010 +0200
+++ b/src/lib-storage/index/index-storage.c	Sun Feb 07 16:01:51 2010 +0200
@@ -231,9 +231,6 @@ int index_storage_mailbox_open(struct ma
 	index_cache_register_defaults(ibox);
 	box->view = mail_index_view_open(box->index);
 	ibox->keyword_names = mail_index_get_keywords(box->index);
-
-	MODULE_CONTEXT_SET_FULL(box->view, mail_storage_mail_index_module,
-				box, &ibox->view_module_ctx);
 
 	box->opened = TRUE;
 
diff -r e7f066508299 -r 9780cd3cc48a src/lib-storage/index/index-storage.h
--- a/src/lib-storage/index/index-storage.h	Sun Feb 07 15:44:33 2010 +0200
+++ b/src/lib-storage/index/index-storage.h	Sun Feb 07 16:01:51 2010 +0200
@@ -31,7 +31,6 @@ struct index_transaction_context {
 
 struct index_mailbox {
 	struct mailbox box;
-	union mail_index_view_module_context view_module_ctx;
 	enum mail_index_open_flags index_flags;
 
 	int (*save_commit_pre)(struct mail_save_context *save_ctx);


More information about the dovecot-cvs mailing list