From 8f2a3ea7be8087201e14ab2de25dffe7de6afe68 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Thu, 27 Jul 2023 10:41:18 -0400 Subject: [PATCH] prefilter/bool: Use bool values for is_last --- src/detect-engine-prefilter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/detect-engine-prefilter.c b/src/detect-engine-prefilter.c index 3c33071e72..e40a5175da 100644 --- a/src/detect-engine-prefilter.c +++ b/src/detect-engine-prefilter.c @@ -453,7 +453,7 @@ void PrefilterSetupRuleGroup(DetectEngineCtx *de_ctx, SigGroupHead *sgh) el->pectx = NULL; // e now owns the ctx e->gid = el->gid; if (el->next == NULL) { - e->is_last = TRUE; + e->is_last = true; } e++; } @@ -477,7 +477,7 @@ void PrefilterSetupRuleGroup(DetectEngineCtx *de_ctx, SigGroupHead *sgh) el->pectx = NULL; // e now owns the ctx e->gid = el->gid; if (el->next == NULL) { - e->is_last = TRUE; + e->is_last = true; } e++; } @@ -579,7 +579,7 @@ void PrefilterSetupRuleGroup(DetectEngineCtx *de_ctx, SigGroupHead *sgh) el->pectx = NULL; // e now owns the ctx e->gid = el->gid; if (el->next == NULL) { - e->is_last = TRUE; + e->is_last = true; } e++; }