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

increment the var. client->number_of_keep_alives #187

Open RGNagel opened 7 months ago

RGNagel commented 7 months ago

A quick inspection of the source code shows that the variable client->number_of_keep_alives is never incremented. This PR increments it on __mqtt_send() when a keep alive is sent.