dovecot-2.0: userdb listing: Don't crash with multiple userdbs.

dovecot at dovecot.org dovecot at dovecot.org
Fri May 15 22:35:12 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/de33ce3795da
changeset: 9292:de33ce3795da
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 15 15:35:06 2009 -0400
description:
userdb listing: Don't crash with multiple userdbs.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/auth/auth-master-connection.c |    4 ++--

diffs (14 lines):

diff -r 7357b0da7589 -r de33ce3795da src/auth/auth-master-connection.c
--- a/src/auth/auth-master-connection.c	Fri May 15 15:15:52 2009 -0400
+++ b/src/auth/auth-master-connection.c	Fri May 15 15:35:06 2009 -0400
@@ -222,8 +222,8 @@ static void master_input_list_callback(c
 		}
 
 		/* continue iterating next userdb */
-		userdb_blocking_iter_init(ctx->userdb,
-					  master_input_list_callback, ctx);
+		ctx->iter = userdb_blocking_iter_init(ctx->userdb,
+					master_input_list_callback, ctx);
 		userdb_blocking_iter_next(ctx->iter);
 		return;
 	}


More information about the dovecot-cvs mailing list