mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
migration to using new differentiated methods for setting record fields
This commit is contained in:
parent
4213245633
commit
62bab66114
74 changed files with 982 additions and 988 deletions
|
@ -524,8 +524,8 @@ VectorValPtr GenMIMEMatchesVal(const zeek::detail::RuleMatcher::MIME_Matches& m)
|
|||
for ( set<string>::const_iterator it2 = it->second.begin();
|
||||
it2 != it->second.end(); ++it2 )
|
||||
{
|
||||
element->Assign(0, val_mgr->Int(it->first));
|
||||
element->Assign(1, make_intrusive<StringVal>(*it2));
|
||||
element->Assign(0, it->first);
|
||||
element->Assign(1, *it2);
|
||||
}
|
||||
|
||||
rval->Assign(rval->Size(), std::move(element));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue