From: Timo Sirainen Date: Wed, 5 Aug 2020 19:43:55 +0000 (+0300) Subject: auth: Inherit auth client connection event from the global auth_event X-Git-Tag: 2.3.13~299 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95f89e9048cda67bcd9fb2aed6a945c0b2031801;p=thirdparty%2Fdovecot%2Fcore.git auth: Inherit auth client connection event from the global auth_event --- diff --git a/src/auth/auth-client-connection.c b/src/auth/auth-client-connection.c index ac3b56d904..4975ebfe56 100644 --- a/src/auth/auth-client-connection.c +++ b/src/auth/auth-client-connection.c @@ -335,9 +335,8 @@ void auth_client_connection_create(struct auth *auth, int fd, conn->connect_uid = ++connect_uid_counter; conn->login_requests = login_requests; conn->token_auth = token_auth; - conn->event = event_create(NULL); + conn->event = event_create(auth_event); event_set_forced_debug(conn->event, auth->set->debug); - event_add_category(conn->event, &event_category_auth); random_fill(conn->cookie, sizeof(conn->cookie)); conn->fd = fd;