mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
The Great Embooleanating
A large number of functions had return values and/or arguments changed to use ``bool`` types instead of ``int``.
This commit is contained in:
parent
3c470ffe13
commit
fd5e15b116
145 changed files with 1288 additions and 1331 deletions
|
@ -139,7 +139,7 @@ void PQ_TimerMgr::Expire()
|
|||
{
|
||||
DBG_LOG(DBG_TM, "Dispatching timer %s (%p)",
|
||||
timer_type_to_string(timer->Type()), timer);
|
||||
timer->Dispatch(t, 1);
|
||||
timer->Dispatch(t, true);
|
||||
--current_timers[timer->Type()];
|
||||
delete timer;
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ int PQ_TimerMgr::DoAdvance(double new_t, int max_expire)
|
|||
|
||||
DBG_LOG(DBG_TM, "Dispatching timer %s (%p)",
|
||||
timer_type_to_string(timer->Type()), timer);
|
||||
timer->Dispatch(new_t, 0);
|
||||
timer->Dispatch(new_t, false);
|
||||
delete timer;
|
||||
|
||||
timer = Top();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue