(demand_check): Slight simplification.

This commit is contained in:
Markus Armbruster 2006-01-04 16:48:43 +00:00
parent b69173eea4
commit c53472e2f2

View file

@ -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;
}