From 1ef0add867cd3cfbcb8ac9eb40ced718f07b719d Mon Sep 17 00:00:00 2001 From: tomoaki Date: Fri, 20 Mar 2020 12:40:41 +0900 Subject: [PATCH] a --- MQTTSNGateway/src/MQTTGWPublishHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MQTTSNGateway/src/MQTTGWPublishHandler.cpp b/MQTTSNGateway/src/MQTTGWPublishHandler.cpp index 653d831..e3abc79 100644 --- a/MQTTSNGateway/src/MQTTGWPublishHandler.cpp +++ b/MQTTSNGateway/src/MQTTGWPublishHandler.cpp @@ -276,7 +276,7 @@ void MQTTGWPublishHandler::handleAggregatePublish(Client* client, MQTTGWPacket* string* topicName = new string(pub.topic, pub.topiclen); // topic deletes topicName when the topic is deleted Topic topic = Topic(topicName, MQTTSN_TOPIC_TYPE_NORMAL); - // ToDo: need to refacter + // ToDo: need to refactor ClientTopicElement* elm = _gateway->getAdapterManager()->getAggregater()->getClientElement(&topic); while ( elm != nullptr )