We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With mosquitto_sub and hex output format, if the message contains byte values less than 16, the leading zeros are not printed.
I believe this is the spot in the code:
mosquitto/client/sub_client_output.c
Line 88 in 44135bc
Perhaps just using "%02x" there would do it. As well as "%02X" a few lines down for the upper-case hex.
The text was updated successfully, but these errors were encountered:
Always print leading zeros in mosquitto_sub when output format is hex.
34293d0
Closes #1066. Thanks to skiizo. Bug: #1066
Agreed! I've fixed this on the fixes branch. Thanks for the report.
Sorry, something went wrong.
No branches or pull requests
With mosquitto_sub and hex output format, if the message contains byte values less than 16, the leading zeros are not printed.
I believe this is the spot in the code:
mosquitto/client/sub_client_output.c
Line 88 in 44135bc
Perhaps just using "%02x" there would do it. As well as "%02X" a few lines down for the upper-case hex.
The text was updated successfully, but these errors were encountered: