From: Timo Sirainen Date: Sun, 26 Nov 2017 10:20:26 +0000 (+0200) Subject: director: DIRECTOR-LIST - Add "ring " prefix to self's status X-Git-Tag: 2.2.34~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ee46c4926122f780fc9eb312ef4683d5bd2678a;p=thirdparty%2Fdovecot%2Fcore.git director: DIRECTOR-LIST - Add "ring " prefix to self's status This is to make it a bit easier to understand the difference between a connection's "handshaking" state vs. "ring handshaking" state. --- diff --git a/src/director/doveadm-connection.c b/src/director/doveadm-connection.c index cc660de20d..803af02574 100644 --- a/src/director/doveadm-connection.c +++ b/src/director/doveadm-connection.c @@ -173,11 +173,11 @@ doveadm_director_host_append_status(const struct director_host *host, static void doveadm_director_append_status(struct director *dir, string_t *str) { if (!dir->ring_handshaked) - str_append(str, "handshaking"); + str_append(str, "ring handshaking"); else if (dir->ring_synced) - str_append(str, "synced"); + str_append(str, "ring synced"); else { - str_printfa(str, "syncing - last sync %d secs ago", + str_printfa(str, "ring syncing - last sync %d secs ago", (int)(ioloop_time - dir->ring_last_sync_time)); } str_printfa(str, "\t%u", dir->last_sync_msecs);