added url handler for mqtt topics.

This commit is contained in:
Martin Preuss
2023-08-11 01:24:31 +02:00
parent 96c2b9a649
commit c5171714b2
6 changed files with 389 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ AQH_MQTT_TOPIC *AQH_Storage_GetMqttTopicById(const AQH_STORAGE *sto, uint64_t id
AQH_MQTT_TOPIC *AQH_Storage_GetMqttTopicByTopic(const AQH_STORAGE *sto, const char *topic)
{
return sto?AQH_MqttTopic_List_GetByMqttTopic(sto->mqttTopicList, topic):NULL;
return sto?AQH_MqttTopic_List_GetByTopic(sto->mqttTopicList, topic):NULL;
}