mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Mark List::append/insert deprecated in favor of push_back/push_front for consistency with Queue
This commit is contained in:
parent
d2d5043bf0
commit
6144f459e1
39 changed files with 221 additions and 211 deletions
|
@ -163,12 +163,12 @@ bool RuleConditionEval::DoMatch(Rule* rule, RuleEndpointState* state,
|
|||
|
||||
// Call function with a signature_state value as argument.
|
||||
val_list args(2);
|
||||
args.append(rule_matcher->BuildRuleStateValue(rule, state));
|
||||
args.push_back(rule_matcher->BuildRuleStateValue(rule, state));
|
||||
|
||||
if ( data )
|
||||
args.append(new StringVal(len, (const char*) data));
|
||||
args.push_back(new StringVal(len, (const char*) data));
|
||||
else
|
||||
args.append(val_mgr->GetEmptyString());
|
||||
args.push_back(val_mgr->GetEmptyString());
|
||||
|
||||
bool result = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue