mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 17:06:51 +01:00
@@ -443,7 +443,7 @@ TopicIdMapElement* TopicIdMap::add(uint16_t msgId, uint16_t topicId, MQTTSN_topi
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
if ( getElement(msgId) > 0 )
|
||||
if ( getElement(msgId) )
|
||||
{
|
||||
erase(msgId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user