Skip to content

Commit

Permalink
fix: misplaced raweth argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Jan 6, 2025
1 parent 0815ef3 commit ebd5916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport/raweth/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ z_result_t _z_raweth_send_n_msg(_z_session_t *zn, const _z_network_message_t *n_
// Create an expandable wbuf for fragmentation
_z_wbuf_t fbf = _z_wbuf_make(_Z_FRAG_BUFF_BASE_SIZE, true);
// Encode the message on the expandable wbuf
_Z_CLEAN_RETURN_IF_ERR(_z_network_message_encode(&fbf, n_msg), _z_transport_tx_mutex_unlock(&ztm->_common),
NULL);
_Z_CLEAN_RETURN_IF_ERR(_z_network_message_encode(&fbf, n_msg, NULL),
_z_transport_tx_mutex_unlock(&ztm->_common));
// Fragment and send the message
bool is_first = true;
while (_z_wbuf_len(&fbf) > 0) {
Expand Down

0 comments on commit ebd5916

Please sign in to comment.