From 3bb057170c2e1203119d3e06ed651f9da3574b00 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki Date: Mon, 27 Sep 2010 13:10:50 +0200 Subject: [PATCH] [BUG] Restore info about available active/backup servers Bug introduced by 5f5b7d2c1db1fabe3d372b0080a8773147762ee7 This bug was reported by Guido Krause. (cherry picked from commit 0c801d1f5ffdc2fe3d036c1e5203d617507c55c3) --- src/checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checks.c b/src/checks.c index d326625be..ef7839b14 100644 --- a/src/checks.c +++ b/src/checks.c @@ -170,7 +170,7 @@ static void server_status_printf(struct chunk *msg, struct server *s, unsigned o chunk_printf(msg, ", check duration: %ldms", s->check_duration); } - if (xferred > 0) { + if (xferred >= 0) { if (!(s->state & SRV_RUNNING)) chunk_printf(msg, ". %d active and %d backup servers left.%s" " %d sessions active, %d requeued, %d remaining in queue",