From c53472e2f2070d8ae19367524f6f35f0edb86ae6 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 4 Jan 2006 16:48:43 +0000 Subject: [PATCH] (demand_check): Slight simplification. --- src/lib/common/wantupd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/common/wantupd.c b/src/lib/common/wantupd.c index d4687003..7c2b00dc 100644 --- a/src/lib/common/wantupd.c +++ b/src/lib/common/wantupd.c @@ -178,13 +178,13 @@ demand_check(void) if (((natp->nat_stat & NORM) == NORM) && ((natp->nat_stat & GOD) != GOD)) { if (natp->nat_missed >= update_missed) - veto = cn + 1; + veto = cn; } } if (veto) { logerror("no demand update, %d has missed more than %d updates", - veto - 1, update_missed); + veto, update_missed); return 0; }