diff --git a/src/decode.h b/src/decode.h index 3664baf68c..cabf95318f 100644 --- a/src/decode.h +++ b/src/decode.h @@ -160,7 +160,7 @@ typedef struct Address_ { #define GET_PKT_DATA(p) ((((p)->ext_pkt) == NULL ) ? (p)->pkt : (p)->ext_pkt) #define SET_PKT_LEN(p, len) do { \ - (p)->pktlen = len; \ + (p)->pktlen = len; \ } while (0) diff --git a/src/runmodes.c b/src/runmodes.c index c9f1342143..b88b62cf2b 100644 --- a/src/runmodes.c +++ b/src/runmodes.c @@ -166,7 +166,7 @@ static void RunModeInitialize(void) } /* try to get custom cpu mask value if needed */ if (threading_set_cpu_affinity == TRUE) { - AffinitySetupLoadFromConfig(); + AffinitySetupLoadFromConfig(); } if ((ConfGetFloat("threading.detect_thread_ratio", &threading_detect_ratio)) != 1) { threading_detect_ratio = 1; @@ -3245,7 +3245,7 @@ int RunModeIpsNFQAuto(DetectEngineCtx *de_ctx, char *nfq_id) { } Tm1SlotSetFunc(tv_detect_ncpu,tm_module,(void *)de_ctx); - TmThreadSetCPU(tv_detect_ncpu, DETECT_CPU_SET); + TmThreadSetCPU(tv_detect_ncpu, DETECT_CPU_SET); char *thread_group_name = SCStrdup("Detect"); if (thread_group_name == NULL) {