dovecot-2.0: auth: Recent changes broke auth_username_chars chec...

dovecot at dovecot.org dovecot at dovecot.org
Sat Mar 13 19:36:38 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/f93195ae4bed
changeset: 10896:f93195ae4bed
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Mar 13 19:36:30 2010 +0200
description:
auth: Recent changes broke auth_username_chars checking.

diffstat:

 src/auth/auth-settings.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 56fc8bbe114c -r f93195ae4bed src/auth/auth-settings.c
--- a/src/auth/auth-settings.c	Sat Mar 13 18:08:39 2010 +0200
+++ b/src/auth/auth-settings.c	Sat Mar 13 19:36:30 2010 +0200
@@ -247,7 +247,7 @@
 		memset(set->username_chars_map, 1,
 		       sizeof(set->username_chars_map));
 	} else {
-		for (p = set->username_chars_map; *p != '\0'; p++)
+		for (p = set->username_chars; *p != '\0'; p++)
 			set->username_chars_map[(int)(uint8_t)*p] = 1;
 	}
 


More information about the dovecot-cvs mailing list