mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
fix for profiling "when" statements
This commit is contained in:
parent
1bbf345e46
commit
c034dc68ed
1 changed files with 6 additions and 0 deletions
|
@ -2185,6 +2185,12 @@ TraversalCode WhenStmt::Traverse(TraversalCallback* cb) const
|
|||
}
|
||||
}
|
||||
|
||||
if ( wi->TimeoutExpr() )
|
||||
{
|
||||
tc = wi->TimeoutExpr()->Traverse(cb);
|
||||
HANDLE_TC_STMT_PRE(tc);
|
||||
}
|
||||
|
||||
tc = cb->PostStmt(this);
|
||||
HANDLE_TC_STMT_POST(tc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue