bool IotMqtt_IsSubscribed( IotMqttConnection_t mqttConnection,\r
const char * pTopicFilter,\r
uint16_t topicFilterLength,\r
- IotMqttSubscription_t * pCurrentSubscription )\r
+ IotMqttSubscription_t * const pCurrentSubscription )\r
{\r
bool status = false;\r
_mqttSubscription_t * pSubscription = NULL;\r
\r
topicMatchParams.pTopicName = pTopicFilter;\r
topicMatchParams.topicNameLength = topicFilterLength;\r
- topicMatchParams.exactMatchOnly = false;\r
+ topicMatchParams.exactMatchOnly = true;\r
\r
/* Prevent any other thread from modifying the subscription list while this\r
* function is running. */\r