Skip to content

Commit

Permalink
TEST: source formatting ok
Browse files Browse the repository at this point in the history
  • Loading branch information
roligugus committed Jul 10, 2020
1 parent 5f810a1 commit 141f13a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,12 @@ static void DetectRun(ThreadVars *th_v,
SCReturn;
}

static void DetectRunPostMatch(ThreadVars *tv,
DetectEngineThreadCtx *det_ctx, Packet *p,
const Signature *s
)
static void DetectRunPostMatch(ThreadVars *tv, DetectEngineThreadCtx *det_ctx,
Packet *p, const Signature *s)
{
/* run the packet match functions */
const SigMatchData *smd = s->sm_arrays[DETECT_SM_LIST_POSTMATCH];
if (smd != NULL)
{
if (smd != NULL) {
KEYWORD_PROFILING_SET_LIST(det_ctx, DETECT_SM_LIST_POSTMATCH);

SCLogDebug("running match functions, sm %p", smd);
Expand Down

0 comments on commit 141f13a

Please sign in to comment.