Skip to content

Commit

Permalink
input_blob: fixed warning
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Sep 27, 2024
1 parent 766bbc1 commit d29cc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_input_blob.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int flb_input_blob_file_register(struct flb_input_instance *ins,
return -1;
}

ret = flb_log_event_encoder_append_body_cstring(encoder, flb_input_name(ins));
ret = flb_log_event_encoder_append_body_cstring(encoder, (char *) flb_input_name(ins));
if (ret != FLB_EVENT_ENCODER_SUCCESS) {
flb_error("[blob file registration] could not append source plugin name");
flb_log_event_encoder_reset(encoder);
Expand Down

0 comments on commit d29cc8c

Please sign in to comment.