From: Timo Sirainen Date: Tue, 28 Nov 2017 12:57:27 +0000 (+0200) Subject: director: Log whether connection is synced when it's being disconnected. X-Git-Tag: 2.2.34~197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8eb9cba42b9e45c1df105da29a2b870fbb00e2b0;p=thirdparty%2Fdovecot%2Fcore.git director: Log whether connection is synced when it's being disconnected. --- diff --git a/src/director/director-connection.c b/src/director/director-connection.c index 4916980a67..393a651b91 100644 --- a/src/director/director-connection.c +++ b/src/director/director-connection.c @@ -2033,6 +2033,8 @@ director_connection_log_disconnect(struct director_connection *conn, int err, str_append(str, ", handshake ME not received"); else if (!conn->handshake_received) str_append(str, ", handshake DONE not received"); + if (conn->synced) + str_append(str, ", synced"); str_append_c(str, ')'); i_error("%s", str_c(str)); }