From 34ca0abde80cb5c4cf6165378de0f811f5bea07a Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Fri, 27 Dec 2024 12:01:17 +0100 Subject: [PATCH] Fix z_get query parameters --- examples/z_get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/z_get.c b/examples/z_get.c index 6729b7b6a..79a0067e1 100644 --- a/examples/z_get.c +++ b/examples/z_get.c @@ -72,7 +72,7 @@ int main(int argc, char** argv) { z_bytes_from_static_str(&payload, args.value); opts.payload = z_move(payload); } - z_get(z_loan(s), z_loan(keyexpr), ke, z_move(closure), + z_get(z_loan(s), z_loan(keyexpr), params, z_move(closure), &opts); // here, the send is moved and will be dropped by zenoh when adequate z_owned_reply_t reply;