mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add ODesc::Size() that returns size_t, deprecate ODesc::Len()
This commit is contained in:
parent
6e2a18ce4f
commit
7a5209855f
12 changed files with 47 additions and 45 deletions
|
@ -197,7 +197,7 @@ StringValPtr ZAM_val_cat(const ValPtr& v) {
|
|||
|
||||
v->Describe(&d);
|
||||
|
||||
String* s = new String(true, d.TakeBytes(), d.Len());
|
||||
String* s = new String(true, d.TakeBytes(), d.Size());
|
||||
s->SetUseFreeToDelete(true);
|
||||
|
||||
return make_intrusive<StringVal>(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue