mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 22:18:20 +00:00
reap the fruits of v += e
This commit is contained in:
parent
81c63a0c65
commit
88fd7510c6
37 changed files with 132 additions and 132 deletions
|
@ -120,14 +120,14 @@ function format_value(value: any) : string
|
|||
{
|
||||
local it: set[bool] = value;
|
||||
for ( sv in it )
|
||||
part[|part|] = cat(sv);
|
||||
part += cat(sv);
|
||||
return join_string_vec(part, ",");
|
||||
}
|
||||
else if ( /^vector/ in tn )
|
||||
{
|
||||
local vit: vector of any = value;
|
||||
for ( i in vit )
|
||||
part[|part|] = cat(vit[i]);
|
||||
part += cat(vit[i]);
|
||||
return join_string_vec(part, ",");
|
||||
}
|
||||
else if ( tn == "string" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue