dovecot-1.2: Fixed "alias_for points to unknown namespace" error...

dovecot at dovecot.org dovecot at dovecot.org
Tue Dec 2 19:00:11 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/bd145a5c5482
changeset: 8511:bd145a5c5482
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Dec 02 19:00:06 2008 +0200
description:
Fixed "alias_for points to unknown namespace" error handling.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/master/master-settings.c |    2 +-

diffs (12 lines):

diff -r ac872ae669ff -r bd145a5c5482 src/master/master-settings.c
--- a/src/master/master-settings.c	Mon Dec 01 00:04:27 2008 +0200
+++ b/src/master/master-settings.c	Tue Dec 02 19:00:06 2008 +0200
@@ -519,7 +519,7 @@ static bool namespace_settings_verify(st
 			if (strcmp(n->prefix, ns->alias_for) == 0)
 				break;
 		}
-		if (n == NULL) {
+		if (n == ns) {
 			i_error("Namespace '%s': alias_for points to "
 				"unknown namespace: %s", name, ns->alias_for);
 			return FALSE;


More information about the dovecot-cvs mailing list