dovecot-2.0: acl: Allow tabs between extended acl names.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 1 19:51:53 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/484eb8f1f074
changeset: 11447:484eb8f1f074
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 01 17:51:50 2010 +0100
description:
acl: Allow tabs between extended acl names.

diffstat:

 src/plugins/acl/acl-backend-vfile.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 044589aca7c6 -r 484eb8f1f074 src/plugins/acl/acl-backend-vfile.c
--- a/src/plugins/acl/acl-backend-vfile.c	Tue Jun 01 17:34:11 2010 +0100
+++ b/src/plugins/acl/acl-backend-vfile.c	Tue Jun 01 17:51:50 2010 +0100
@@ -353,7 +353,7 @@
 			return NULL;
 		}
 
-		names = t_strsplit_spaces(acl + 1, ", ");
+		names = t_strsplit_spaces(acl + 1, ", \t");
 		for (; *names != NULL; names++) {
 			const char *name = p_strdup(pool, *names);
 			array_append(&rights, &name, 1);


More information about the dovecot-cvs mailing list