This is an automated email from the ASF dual-hosted git repository. astitcher pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit 92fde7587e7b7defe2d19f70ac9b8a3c67e62375 Author: Andrew Stitcher <[email protected]> AuthorDate: Thu Jul 25 16:23:38 2024 -0400 PROTON-2842: Fix frame dump of custom descriptors --- c/src/core/value_dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/src/core/value_dump.c b/c/src/core/value_dump.c index 971441b23..63e2066da 100644 --- a/c/src/core/value_dump.c +++ b/c/src/core/value_dump.c @@ -94,7 +94,7 @@ static inline bool type_isunsigned_ifsimpleint(uint8_t type) { } static inline bool type_isulong(uint8_t type) { - return type==PNE_ULONG0 || type==PNE_SMALLULONG || type==PNE_ULONG0; + return type==PNE_ULONG0 || type==PNE_SMALLULONG || type==PNE_ULONG; } static inline bool type_iscompund(uint8_t type) { @@ -598,6 +598,7 @@ size_t pni_value_dump(pn_bytes_t frame, pn_fixed_string_t *output) fsize += pn_value_dump_described(frame, dcode, output); } else { pn_value_dump_nondescribed_value(type, value, output); + pn_fixed_string_addf(output, " "); fsize += pn_value_dump_nondescribed(frame, output); } return fsize; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
