mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
low-level style tweaks
This commit is contained in:
parent
ecd273c3ca
commit
75652927e2
2 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ static std::string escape_string(const u_char* b, int len)
|
||||||
return res + "\"";
|
return res + "\"";
|
||||||
}
|
}
|
||||||
|
|
||||||
ValTrace::ValTrace(const ValPtr& _v)
|
ValTrace::ValTrace(const ValPtr& _v) : v(_v)
|
||||||
{
|
{
|
||||||
v = _v;
|
v = _v;
|
||||||
t = v->GetType();
|
t = v->GetType();
|
||||||
|
@ -552,7 +552,7 @@ void ValTrace::ComputeVectorDelta(const ValTrace* prev, DeltaVector& deltas) con
|
||||||
auto n = elems.size();
|
auto n = elems.size();
|
||||||
auto prev_n = prev_elems.size();
|
auto prev_n = prev_elems.size();
|
||||||
|
|
||||||
// The following hasn't been tested for robustness to vector holes.
|
// TODO: The following hasn't been tested for robustness to vector holes.
|
||||||
|
|
||||||
if ( n < prev_n )
|
if ( n < prev_n )
|
||||||
{
|
{
|
||||||
|
|
|
@ -605,8 +605,8 @@ public:
|
||||||
* use this method to attach additional data to the connections. A
|
* use this method to attach additional data to the connections. A
|
||||||
* call to BuildConnVal() will in turn trigger a call to
|
* call to BuildConnVal() will in turn trigger a call to
|
||||||
* UpdateConnVal().
|
* UpdateConnVal().
|
||||||
* ### The above comment needs updating, there's no BuildConnVal()
|
* TODO: The above comment needs updating, there's no BuildConnVal()
|
||||||
* ### anymore -VP
|
* anymore -VP
|
||||||
*
|
*
|
||||||
* @param conn_val The connenction value being updated.
|
* @param conn_val The connenction value being updated.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue