From 83c4de4cee9e54ba5bd01338b6a348f6a3e32c86 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 5 Oct 2023 15:46:18 +0200 Subject: [PATCH] detect/bytejump: fix debug messages Remove newlines. --- src/detect-bytejump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detect-bytejump.c b/src/detect-bytejump.c index 37c01ed8c3..3e7ae4f5e0 100644 --- a/src/detect-bytejump.c +++ b/src/detect-bytejump.c @@ -222,14 +222,14 @@ bool DetectBytejumpDoMatch(DetectEngineThreadCtx *det_ctx, const Signature *s, /* Calculate the jump location */ if (flags & DETECT_BYTEJUMP_BEGIN) { jumpptr = payload + (int64_t)val; - SCLogDebug("NEWVAL: payload %p + %" PRIi64 " = %p\n", payload, (int64_t)val, jumpptr + val); + SCLogDebug("NEWVAL: payload %p + %" PRIi64 " = %p", payload, (int64_t)val, jumpptr + val); } else if (flags & DETECT_BYTEJUMP_END) { jumpptr = payload + payload_len + (int64_t)val; SCLogDebug( "NEWVAL: payload %p + %" PRIu32 " + %" PRIi64, payload, payload_len, (int64_t)val); } else { jumpptr = ptr + (int64_t)val + extbytes; - SCLogDebug("NEWVAL: ptr %p + %" PRIi64 " = %p\n", ptr, val, jumpptr); + SCLogDebug("NEWVAL: ptr %p + %" PRIi64 " = %p", ptr, val, jumpptr); } /* Validate that the jump location is still in the packet -- 2.47.2