mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08: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
|
@ -145,7 +145,7 @@ ParentProcessCheckTimer::ParentProcessCheckTimer(double t, double arg_interval)
|
|||
{
|
||||
}
|
||||
|
||||
void ParentProcessCheckTimer::Dispatch(double t, int is_expire)
|
||||
void ParentProcessCheckTimer::Dispatch(double t, bool is_expire)
|
||||
{
|
||||
// Note: only simple + portable way of detecting loss of parent
|
||||
// process seems to be polling for change in PPID. There's platform
|
||||
|
|
|
@ -406,7 +406,7 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
void Dispatch(double t, int is_expire) override;
|
||||
void Dispatch(double t, bool is_expire) override;
|
||||
|
||||
double interval;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue