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 645acc4 commit 002a0e1
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 @@ -89,7 +89,7 @@ z_result_t _z_join_encode(_z_wbuf_t *wbf, uint8_t header, const _z_t_msg_join_t
}
#if Z_FEATURE_FRAGMENTATION == 1
if (has_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 002a0e1

Please sign in to comment.