From: Timo Sirainen Date: Tue, 3 Sep 2019 12:47:18 +0000 (+0300) Subject: login-common: Don't call client_input() directly in clients_notify_auth_connected() X-Git-Tag: 2.3.9~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=839634823cb532dee1d5f76de36eb3248d767c00;p=thirdparty%2Fdovecot%2Fcore.git login-common: Don't call client_input() directly in clients_notify_auth_connected() This probably won't fix anything, but it's cleaner to get to client_input() always from IO loop directly. Although it might shrink data stack's memory usage. --- diff --git a/src/login-common/client-common-auth.c b/src/login-common/client-common-auth.c index 0ba0c1c958..cb20f554d9 100644 --- a/src/login-common/client-common-auth.c +++ b/src/login-common/client-common-auth.c @@ -858,7 +858,7 @@ void clients_notify_auth_connected(void) if (!client_does_custom_io(client) && client->input_blocked) { client->input_blocked = FALSE; - client_input(client); + io_set_pending(client->io); } } }