Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: directly return match_found variable
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Terzolo <[email protected]>
Signed-off-by: Lorenzo Susini <[email protected]>
loresuso and Andreagit97 authored Aug 8, 2023

Verified

This commit was signed with the committer’s verified signature.
1 parent 8e55f10 commit 1a8d7d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions userspace/engine/evttype_index_ruleset.cpp
Original file line number Diff line number Diff line change
@@ -169,12 +169,7 @@ bool evttype_index_ruleset::ruleset_filters::run(gen_event *evt, std::vector<fal
}
}

if(match_found)
{
return true;
}

return false;
return match_found;
}

libsinsp::events::set<ppm_sc_code> evttype_index_ruleset::ruleset_filters::sc_codes()

0 comments on commit 1a8d7d8

Please sign in to comment.