diff --git a/plugins/in_forward/fw_prot.c b/plugins/in_forward/fw_prot.c index ef8464bad46..286f50cffa5 100644 --- a/plugins/in_forward/fw_prot.c +++ b/plugins/in_forward/fw_prot.c @@ -1756,7 +1756,7 @@ int fw_prot_process(struct flb_input_instance *ins, struct fw_conn *conn) goto cleanup_msgpack; } - ret = msgpack_unpacker_next(unp, &result); + ret = msgpack_unpacker_next_with_size(unp, &result, &bytes); } }