]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Log whether connection is synced when it's being disconnected.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 28 Nov 2017 12:57:27 +0000 (14:57 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 28 Nov 2017 13:32:21 +0000 (15:32 +0200)
src/director/director-connection.c

index 4916980a676c3f5b38846c3eb1964e92415c7a6e..393a651b919ea0262c66b4d08c496a1fe1260aca 100644 (file)
@@ -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));
 }