mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
Update: Set WaitWillMsgFlg before posting Event. to protect repeated
WILLMSG before seending CONNECT. Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -114,7 +114,6 @@ void BrokerSendTask::run()
|
||||
{
|
||||
if ( packet->getType() == CONNECT )
|
||||
{
|
||||
client->setWaitWillMsgFlg(false);
|
||||
client->connectSended();
|
||||
}
|
||||
log(client, packet);
|
||||
|
||||
Reference in New Issue
Block a user