Skip to content

Commit

Permalink
in_winevtlog: Remove a needless third argument
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
  • Loading branch information
cosmo0920 authored and edsiper committed Aug 28, 2024
1 parent 1442993 commit d873502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_winevtlog/pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d873502

Please sign in to comment.