Skip to content

Commit

Permalink
chore: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Mar 18, 2024
1 parent 0c2ecd6 commit 0d28363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/session/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ int8_t _z_handle_network_message(_z_session_t *zn, _z_zenoh_message_t *msg, uint
// @TODO: expose zenoh errors to the user
_z_msg_err_t error = response._body._err;
_z_bytes_t payload = error._payload;
_Z_ERROR("Received Err for query %zu: message=%.*s", response._request_id,
(int)payload.len, payload.start);
_Z_ERROR("Received Err for query %zu: message=%.*s", response._request_id, (int)payload.len,
payload.start);
} break;
case _Z_RESPONSE_BODY_ACK: {
// @TODO: implement ACKs for puts/dels
Expand Down
2 changes: 1 addition & 1 deletion tests/z_msgcodec_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ _z_msg_err_t gen_err(void) {
return (_z_msg_err_t){
.encoding = gen_encoding(),
._ext_source_info = gen_bool() ? gen_source_info() : _z_source_info_null(),
._payload = gen_payload(len), // Hangs if 0
._payload = gen_payload(len), // Hangs if 0
};
}

Expand Down

0 comments on commit 0d28363

Please sign in to comment.