From b6238c939e685733d2af48d332b2eba9e25e1678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Fri, 3 Jan 2020 15:15:29 +0000 Subject: [PATCH] Count backup path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mud.c b/mud.c index a3165f6..26b90dd 100644 --- a/mud.c +++ b/mud.c @@ -1434,6 +1434,7 @@ mud_update(struct mud *mud) continue; path->ok = 0; + count++; if (!mud->backup && path->state == MUD_BACKUP) continue; @@ -1464,8 +1465,6 @@ mud_update(struct mud *mud) now = mud_now(mud); } } - - count++; } if (!rate) {