changeset 22692:281472b3bb20

director: Log whether connection is synced when it's being disconnected.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Tue, 28 Nov 2017 14:57:27 +0200
parents dca05b22217b
children a11fd794807e
files src/director/director-connection.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/director/director-connection.c	Tue Nov 28 13:10:35 2017 +0200
+++ b/src/director/director-connection.c	Tue Nov 28 14:57:27 2017 +0200
@@ -2033,6 +2033,8 @@
 		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));
 }