From 77e50a2389d9fe8c4892c5c64c168821964d663f Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Tue, 12 Mar 2024 17:16:51 -0300 Subject: [PATCH] processor_content_modifier: fix cb_processor_logs callback arguments type. Signed-off-by: Phillip Whelan --- plugins/processor_content_modifier/cm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/processor_content_modifier/cm.c b/plugins/processor_content_modifier/cm.c index f4e127595d8..d1fce88c188 100644 --- a/plugins/processor_content_modifier/cm.c +++ b/plugins/processor_content_modifier/cm.c @@ -62,12 +62,13 @@ static int cb_exit(struct flb_processor_instance *ins) } static int cb_process_logs(struct flb_processor_instance *ins, - struct flb_mp_chunk_cobj *chunk_cobj, + void *chunk, const char *tag, int tag_len) { int ret; struct content_modifier_ctx *ctx; + struct flb_mp_chunk_cobj *chunk_cobj = (struct flb_mp_chunk_cobj *)chunk; if (!ins->context) { return FLB_PROCESSOR_FAILURE;