|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #9211] mqtt: Check Will Flag rather than will_topic_len for appending will topic and message |
Date: | Sun, 8 Jan 2017 02:28:15 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 |
Follow-up Comment #4, patch #9211 (project lwip): The patch is not to change the coding style. There is a small difference when will topic is zero-length rather than NULL. If will topic is zero-length, the Will flag bit is set. But current code won't send will topic/message in the payload. i.e. the payload length field does not match the exactly payload sent. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9211> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |