From 13c39aa4ae2945da5457483d14c8d317328a6dcd Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Mon, 5 Apr 2021 07:44:31 -0400 Subject: [PATCH] add to log: Add module --- src/util-debug.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/util-debug.c b/src/util-debug.c index 0d453b1f4128..16debe3dd2cb 100644 --- a/src/util-debug.c +++ b/src/util-debug.c @@ -341,14 +341,10 @@ static const char *SCTransformModule(const char *module_name, int *dn_len) * * \retval SC_OK on success; else an error code */ -static SCError SCLogMessageGetBuffer( - struct timeval *tval, int color, SCLogOPType type, - char *buffer, size_t buffer_size, - const char *log_format, - const SCLogLevel log_level, const char *file, - const unsigned int line, const char *function, - const char *module, const SCError error_code, - const char *message) +static SCError SCLogMessageGetBuffer(struct timeval *tval, int color, SCLogOPType type, + char *buffer, size_t buffer_size, const char *log_format, const SCLogLevel log_level, + const char *file, const unsigned int line, const char *function, const char *module, + const SCError error_code, const char *message) { if (type == SC_LOG_OP_TYPE_JSON) return SCLogMessageJSON(tval, buffer, buffer_size, log_level, file, line, function, module,