mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01: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
|
@ -244,7 +244,7 @@ public:
|
|||
: Timer(t + timeout, TIMER_NET_WEIRD_EXPIRE), weird_name(name)
|
||||
{}
|
||||
|
||||
void Dispatch(double t, int is_expire) override
|
||||
void Dispatch(double t, bool is_expire) override
|
||||
{ reporter->ResetNetWeird(weird_name); }
|
||||
|
||||
std::string weird_name;
|
||||
|
@ -258,7 +258,7 @@ public:
|
|||
: Timer(t + timeout, TIMER_FLOW_WEIRD_EXPIRE), endpoints(std::move(p))
|
||||
{}
|
||||
|
||||
void Dispatch(double t, int is_expire) override
|
||||
void Dispatch(double t, bool is_expire) override
|
||||
{ reporter->ResetFlowWeird(endpoints.first, endpoints.second); }
|
||||
|
||||
IPPair endpoints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue