diff --git a/src/protocol/codec/message.c b/src/protocol/codec/message.c index 8a529400d..ad4279fe8 100644 --- a/src/protocol/codec/message.c +++ b/src/protocol/codec/message.c @@ -401,7 +401,7 @@ int8_t _z_query_encode(_z_wbuf_t *wbf, const _z_msg_query_t *msg) { _Z_RETURN_IF_ERR(_z_uint8_encode(wbf, extheader)); _Z_RETURN_IF_ERR(_z_zint_encode(wbf, _z_zint_len(msg->_ext_value.encoding.prefix) + _z_bytes_encode_len(&msg->_ext_value.encoding.suffix) + - _z_bytes_encode_len(&msg->_ext_value.payload))); + msg->_ext_value.payload.len)); _Z_RETURN_IF_ERR(_z_encoding_prefix_encode(wbf, msg->_ext_value.encoding.prefix)); _Z_RETURN_IF_ERR(_z_bytes_encode(wbf, &msg->_ext_value.encoding.suffix)); _Z_RETURN_IF_ERR(_z_bytes_val_encode(wbf, &msg->_ext_value.payload)); diff --git a/zenohpico.pc b/zenohpico.pc index 5282169f0..bcc1e5d18 100644 --- a/zenohpico.pc +++ b/zenohpico.pc @@ -1,8 +1,8 @@ -prefix=/var/empty/local +prefix=/usr/local Name: zenohpico Description: URL: -Version: 0.11.20231017dev +Version: 0.11.20231019dev Cflags: -I${prefix}/include -Libs: -L${prefix}/lib64 -lzenohpico +Libs: -L${prefix}/lib -lzenohpico