From: Victor Julien Date: Tue, 12 Mar 2019 18:55:34 +0000 (+0100) Subject: detect/bytetest: debug cleanup X-Git-Tag: suricata-5.0.0-beta1~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a14cb252db053168ef6be2f0e079ef660104b21;p=thirdparty%2Fsuricata.git detect/bytetest: debug cleanup --- diff --git a/src/detect-bytetest.c b/src/detect-bytetest.c index c833bc4a02..d7c0db0bbc 100644 --- a/src/detect-bytetest.c +++ b/src/detect-bytetest.c @@ -163,7 +163,7 @@ int DetectBytetestDoMatch(DetectEngineThreadCtx *det_ctx, } } - SCLogDebug("comparing base %d string 0x%" PRIx64 " %s%c 0x%" PRIx64 "", + SCLogDebug("comparing base %d string 0x%" PRIx64 " %s%u 0x%" PRIx64, data->base, val, (neg ? "!" : ""), data->op, data->value); } else { @@ -176,7 +176,7 @@ int DetectBytetestDoMatch(DetectEngineThreadCtx *det_ctx, SCReturnInt(-1); } - SCLogDebug("comparing numeric 0x%" PRIx64 " %s%c 0x%" PRIx64 "", + SCLogDebug("comparing numeric 0x%" PRIx64 " %s%u 0x%" PRIx64, val, (neg ? "!" : ""), data->op, data->value); }