Mercurial > dovecot > original-hg > dovecot-2.2
changeset 16654:f7dc5389ab0a
lib-auth: auth_master_user_list_*() shouldn't create ioloop if it already exists.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 05 Aug 2013 21:47:11 +0300 |
parents | a3f645bc5195 |
children | 647ef2264398 |
files | src/lib-auth/auth-master.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);