mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fix the join_string_vec BIF and add more tests
This commit is contained in:
parent
6869e1aadc
commit
17155a103d
3 changed files with 15 additions and 3 deletions
|
@ -175,7 +175,7 @@ function join_string_vec%(vec: string_vec, sep: string%): string
|
|||
if ( i > 0 )
|
||||
d.Add(sep->CheckString(), 0);
|
||||
|
||||
v->Lookup(i+1)->Describe(&d);
|
||||
v->Lookup(i)->Describe(&d);
|
||||
}
|
||||
|
||||
BroString* s = new BroString(1, d.TakeBytes(), d.Len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue