(demand_check): Slight simplification.
This commit is contained in:
parent
b69173eea4
commit
c53472e2f2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue