dovecot-1.2: Shared namespaces: Allow using %% in the prefix.

dovecot at dovecot.org dovecot at dovecot.org
Fri Jan 23 20:12:54 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/61dd475e9f0a
changeset: 8677:61dd475e9f0a
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jan 23 13:12:50 2009 -0500
description:
Shared namespaces: Allow using %% in the prefix.

diffstat:

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

diffs (12 lines):

diff -r b45d3705f7d5 -r 61dd475e9f0a src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c	Thu Jan 22 02:42:35 2009 +0200
+++ b/src/lib-storage/index/shared/shared-storage.c	Fri Jan 23 13:12:50 2009 -0500
@@ -79,7 +79,7 @@ static int shared_create(struct mail_sto
 			break;
 		if (*p == 'u' || *p == 'n')
 			have_username = TRUE;
-		else if (*p != 'd')
+		else if (*p != '%' && *p != 'd')
 			break;
 	}
 	if (*p != '\0') {


More information about the dovecot-cvs mailing list