mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-12 23:16:51 +01:00
Bug Fix of wildcard character
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -408,7 +408,7 @@ TopicIdMapElement::TopicIdMapElement(uint16_t msgId, uint16_t topicId, MQTTSN_to
|
||||
|
||||
if (_type == MQTTSN_TOPIC_TYPE_NORMAL)
|
||||
{
|
||||
if ( strchr(topic->data.long_.name, '*') != 0 || strchr(topic->data.long_.name, '+') != 0 )
|
||||
if ( strchr(topic->data.long_.name, '#') != 0 || strchr(topic->data.long_.name, '+') != 0 )
|
||||
{
|
||||
_wildcard = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user