From d873502de1e1a7f050c7bba6336d682a3327a7af Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 28 Aug 2024 22:30:04 +0900 Subject: [PATCH] in_winevtlog: Remove a needless third argument Signed-off-by: Hiroshi Hatake --- plugins/in_winevtlog/pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/in_winevtlog/pack.c b/plugins/in_winevtlog/pack.c index 9242da6811c..734839e30f3 100644 --- a/plugins/in_winevtlog/pack.c +++ b/plugins/in_winevtlog/pack.c @@ -450,7 +450,7 @@ static void pack_string_inserts(struct winevtlog_config *ctx, PEVT_VARIANT value } break; case EvtVarTypeEvtXml: - if (pack_wstr(ctx, values[i].XmlVal, ctx)) { + if (pack_wstr(ctx, values[i].XmlVal)) { pack_nullstr(ctx); } break;