mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 23:46:51 +01:00
@@ -735,6 +735,7 @@ uint16_t Topic::getTopicId(void)
|
||||
bool Topic::isMatch(string* topicName)
|
||||
{
|
||||
string::size_type tlen = _topicName->size();
|
||||
|
||||
if (topicName->size() < tlen - 2)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user