dovecot-2.0: userdb sql: Fixed crashing when listing users.

dovecot at dovecot.org dovecot at dovecot.org
Fri May 15 23:06:18 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/41fda72aa80a
changeset: 9294:41fda72aa80a
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 15 16:05:39 2009 -0400
description:
userdb sql: Fixed crashing when listing users.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/userdb-sql.c |    2 +-

diffs (12 lines):

diff -r 3d628e998192 -r 41fda72aa80a src/auth/userdb-sql.c
--- a/src/auth/userdb-sql.c	Fri May 15 16:05:25 2009 -0400
+++ b/src/auth/userdb-sql.c	Fri May 15 16:05:39 2009 -0400
@@ -133,7 +133,7 @@ userdb_sql_iterate_init(struct auth_user
 			userdb_iter_callback_t *callback, void *context)
 {
 	struct sql_userdb_module *module =
-		(struct sql_userdb_module *)userdb;
+		(struct sql_userdb_module *)userdb->userdb;
 	struct sql_userdb_iterate_context *ctx;
 
 	ctx = i_new(struct sql_userdb_iterate_context, 1);


More information about the dovecot-cvs mailing list