dovecot-2.0-sslstream: lib-storage: Mailbox virtual name was set...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:57:24 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/26583093cb54
changeset: 10559:26583093cb54
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 19 16:11:29 2010 +0200
description:
lib-storage: Mailbox virtual name was set wrong with multiple namespaces.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/lib-storage/index/index-storage.c |    3 +--

diffs (13 lines):

diff -r 907dc8769491 -r 26583093cb54 src/lib-storage/index/index-storage.c
--- a/src/lib-storage/index/index-storage.c	Tue Jan 19 15:45:14 2010 +0200
+++ b/src/lib-storage/index/index-storage.c	Tue Jan 19 16:11:29 2010 +0200
@@ -458,8 +458,7 @@ void index_storage_mailbox_alloc(struct 
 	if (name != NULL) {
 		box->name = p_strdup(box->pool, name);
 		vname = t_str_new(128);
-		mail_namespace_get_vname(box->storage->user->namespaces,
-					 vname, name);
+		mail_namespace_get_vname(box->list->ns, vname, name);
 		box->vname = p_strdup(box->pool, str_c(vname));
 	} else {
 		i_assert(input != NULL);


More information about the dovecot-cvs mailing list