cyijun / ESP32MQTTClient

A thread-safe MQTT client for Arduino ESP32xx, based on ESP-IDF MQTT component. | Need help for adapting the latest mqtt component.
MIT License
15 stars 2 forks source link

fix crash with empty payload #5

Closed olivluca closed 5 months ago

olivluca commented 8 months ago

The client crashed if received an empty payload, this fixes it.

cyijun commented 5 months ago

Thanks a lot