dovecot-2.2: lib-auth: auth_master_user_list_*() shouldn't creat...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 5 22:13:43 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/f7dc5389ab0a
changeset: 16654:f7dc5389ab0a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 05 21:47:11 2013 +0300
description:
lib-auth: auth_master_user_list_*() shouldn't create ioloop if it already exists.

diffstat:

 src/lib-auth/auth-master.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r a3f645bc5195 -r f7dc5389ab0a src/lib-auth/auth-master.c
--- a/src/lib-auth/auth-master.c	Mon Aug 05 20:45:42 2013 +0300
+++ b/src/lib-auth/auth-master.c	Mon Aug 05 21:47:11 2013 +0300
@@ -333,6 +333,9 @@
 
 static void auth_master_set_io(struct auth_master_connection *conn)
 {
+	if (conn->ioloop != NULL)
+		return;
+
 	if (conn->to != NULL)
 		timeout_remove(&conn->to);
 


More information about the dovecot-cvs mailing list