diff --git a/src/flb_input_chunk.c b/src/flb_input_chunk.c index c5b894aa45d..959e5fd396e 100644 --- a/src/flb_input_chunk.c +++ b/src/flb_input_chunk.c @@ -1537,10 +1537,8 @@ static int input_chunk_append_raw(struct flb_input_instance *in, tag, tag_len, in->config); - if (filtered_data_buffer != NULL) { - final_data_buffer = filtered_data_buffer; - final_data_size = filtered_data_size; - } + final_data_buffer = filtered_data_buffer; + final_data_size = filtered_data_size; } if (final_data_size > 0){