From 7c6707d0a75c25cf6ae69a18a1412b654f8dc6eb Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Fri, 12 Apr 2024 15:39:32 -0600 Subject: [PATCH] decode: opentelemetry: adjust function prototypes Signed-off-by: Eduardo Silva --- src/ctr_decode_opentelemetry.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ctr_decode_opentelemetry.c b/src/ctr_decode_opentelemetry.c index ba9f2eb..768f86f 100644 --- a/src/ctr_decode_opentelemetry.c +++ b/src/ctr_decode_opentelemetry.c @@ -278,13 +278,12 @@ static int convert_bytes_value(struct opentelemetry_decode_value *ctr_val, break; case CTR_OPENTELEMETRY_TYPE_ARRAY: - result = cfl_array_append_bytes(ctr_val->cfl_arr, buf, len); + result = cfl_array_append_bytes(ctr_val->cfl_arr, buf, len, CFL_FALSE); break; case CTR_OPENTELEMETRY_TYPE_KVLIST: - result = cfl_kvlist_insert_bytes(ctr_val->cfl_kvlist, key, buf, len); + result = cfl_kvlist_insert_bytes(ctr_val->cfl_kvlist, key, buf, len, CFL_FALSE); break; - } if (result == -2) {