Skip to content

Commit

Permalink
Fix z_get query parameters (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc authored Dec 27, 2024
1 parent b9702d8 commit d3db684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/z_get.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d3db684

Please sign in to comment.