mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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);
|
tc = cb->PostStmt(this);
|
||||||
HANDLE_TC_STMT_POST(tc);
|
HANDLE_TC_STMT_POST(tc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue