diff --git a/src/detect-engine-prefilter.c b/src/detect-engine-prefilter.c index dd384c30c35f..ad136c7f273a 100644 --- a/src/detect-engine-prefilter.c +++ b/src/detect-engine-prefilter.c @@ -122,8 +122,8 @@ void DetectRunPrefilterTx(DetectEngineThreadCtx *det_ctx, } PREFILTER_PROFILING_START(det_ctx); - engine->cb.PrefilterTx( - det_ctx, engine->pectx, p, p->flow, (void *) tx_ptr, tx->tx_id, tx->tx_data_ptr, flow_flags); + engine->cb.PrefilterTx(det_ctx, engine->pectx, p, p->flow, (void *)tx_ptr, tx->tx_id, + tx->tx_data_ptr, flow_flags); PREFILTER_PROFILING_END(det_ctx, engine->gid); if (tx->tx_progress > engine->ctx.tx_min_progress && engine->is_last_for_progress) { diff --git a/src/detect.c b/src/detect.c index 3416656393a9..635508be2ab1 100644 --- a/src/detect.c +++ b/src/detect.c @@ -1180,7 +1180,8 @@ static bool DetectRunTxInspectRule(ThreadVars *tv, if (!(inspect_flags & BIT_U32(engine->id)) && direction == engine->dir) { - const void *tx_ptr = DetectGetInnerTx(tx->tx_ptr, f->alproto, engine->alproto, flow_flags); + const void *tx_ptr = + DetectGetInnerTx(tx->tx_ptr, f->alproto, engine->alproto, flow_flags); if (tx_ptr == NULL) { if (engine->alproto != ALPROTO_UNKNOWN) { /* special case: file_data on 'alert tcp' will have engines @@ -1223,8 +1224,8 @@ static bool DetectRunTxInspectRule(ThreadVars *tv, } else { KEYWORD_PROFILING_SET_LIST(det_ctx, engine->sm_list); DEBUG_VALIDATE_BUG_ON(engine->v2.Callback == NULL); - match = engine->v2.Callback( - de_ctx, det_ctx, engine, s, f, flow_flags, alstate, (void *) tx_ptr, tx->tx_id); + match = engine->v2.Callback(de_ctx, det_ctx, engine, s, f, flow_flags, alstate, + (void *)tx_ptr, tx->tx_id); TRACE_SID_TXS(s->id, tx, "engine %p match %d", engine, match); if (engine->stream) { can->stream_stored = true;