LiamBindle / MQTT-C

A portable MQTT C client for embedded systems and PCs alike.
https://liambindle.ca/MQTT-C
MIT License
766 stars 269 forks source link

Fix mqtt_init_reconnect initialisation #172

Closed MartinKlang closed 1 year ago

MartinKlang commented 2 years ago

When using mqtt_init_reconnect() instead of mqtt_init() there are a couple of fields in the data structures that are currently left uninitialised. This PR proposes a fix.

MartinKlang commented 1 year ago

thanks @LiamBindle !