dovecot-2.0: lib-storage: Fail earlier if shared namespace prefi...

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 2 19:28:13 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/2c4bdec44065
changeset: 12070:2c4bdec44065
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 02 17:28:10 2010 +0100
description:
lib-storage: Fail earlier if shared namespace prefix contains modifiers.

diffstat:

 src/lib-storage/index/shared/shared-storage.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6812a4bf6566 -r 2c4bdec44065 src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c	Thu Sep 02 17:06:37 2010 +0100
+++ b/src/lib-storage/index/shared/shared-storage.c	Thu Sep 02 17:28:10 2010 +0100
@@ -65,7 +65,7 @@
 		if (*p != '%')
 			continue;
 
-		key = var_get_key(p + 1);
+		key = p[1];
 		if (key == 'u' || key == 'n')
 			have_username = TRUE;
 		else if (key != '%' && key != 'd')


More information about the dovecot-cvs mailing list