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
Hi,
had a nasty bug in my code and by accident found a documentation error in https://github.com/eclipse/mosquitto/blob/master/include/mosquitto.h#L327
In the function's implementation https://github.com/eclipse/mosquitto/blob/master/lib/mosquitto.c#L140 one can see that instead of returning MOSQ_ERR_NOMEM it returns MOSQ_ERR_MALFORMED_UTF8 here: https://github.com/eclipse/mosquitto/blob/master/lib/mosquitto.c#L167
MOSQ_ERR_NOMEM
MOSQ_ERR_MALFORMED_UTF8
The text was updated successfully, but these errors were encountered:
Thank you! It actually should be returning MOSQ_ERR_NOMEM as well as MOSQ_ERR_MALFORMED_UTF8. I've fixed both parts.
Sorry, something went wrong.
Fix documentation omission around mosquitto_reinitialise.
6468bb4
Closes #2489. Thanks to rroguski
No branches or pull requests
Hi,
had a nasty bug in my code and by accident found a documentation error in
https://github.com/eclipse/mosquitto/blob/master/include/mosquitto.h#L327
In the function's implementation https://github.com/eclipse/mosquitto/blob/master/lib/mosquitto.c#L140 one can see that instead of returning
MOSQ_ERR_NOMEM
it returnsMOSQ_ERR_MALFORMED_UTF8
here: https://github.com/eclipse/mosquitto/blob/master/lib/mosquitto.c#L167The text was updated successfully, but these errors were encountered: