Skip to content

Commit

Permalink
Update src/protocol/codec/transport.c
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Bushnev <[email protected]>
  • Loading branch information
wyfo and sashacmc authored Dec 4, 2024
1 parent 107ac1a commit bd89a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/codec/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ z_result_t _z_init_encode(_z_wbuf_t *wbf, uint8_t header, const _z_t_msg_init_t

#if Z_FEATURE_FRAGMENTATION == 1
if (msg->_patch != _Z_NO_PATCH) {
if (_Z_HAS_FLAG(header, _Z_FLAG_T_Z) == true) {
if (_Z_HAS_FLAG(header, _Z_FLAG_T_Z)) {
_Z_RETURN_IF_ERR(_z_uint8_encode(wbf, _Z_MSG_EXT_ID_JOIN_PATCH));
_Z_RETURN_IF_ERR(_z_zint64_encode(wbf, msg->_patch));
} else {
Expand Down

0 comments on commit bd89a76

Please sign in to comment.