eclipse / paho.mqtt.embedded-c

Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)

Home Page:https://eclipse.org/paho

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why use `enddata - curdata` instead of `mylen` in `MQTTDeserialize_ack()`?

zzlin55 opened this issue · comments

Hi,
For this block, is there any particular reason to use enddata - curdata rather than mylen?
I can't really see the difference except the type will be different.