dovecot: hook_mail_namespaces_created was called with empty name...

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 30 14:44:13 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/9aec63500aea
changeset: 6504:9aec63500aea
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 30 14:44:10 2007 +0300
description:
hook_mail_namespaces_created was called with empty namespace list if
namespaces weren't explicitly defined.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/mail-namespace.c |    2 +-

diffs (12 lines):

diff -r cc60666f66bb -r 9aec63500aea src/lib-storage/mail-namespace.c
--- a/src/lib-storage/mail-namespace.c	Wed Sep 26 00:45:32 2007 +0300
+++ b/src/lib-storage/mail-namespace.c	Sun Sep 30 14:44:10 2007 +0300
@@ -232,7 +232,7 @@ int mail_namespaces_init(pool_t pool, co
 	*namespaces_r = ns;
 
 	if (hook_mail_namespaces_created != NULL)
-		hook_mail_namespaces_created(namespaces);
+		hook_mail_namespaces_created(ns);
 	return 0;
 }
 


More information about the dovecot-cvs mailing list