* FIX [bridge] fix incorrect type name;
@@ -223,7 +223,7 @@ get_bridge_config(conf_bridge *bridge)
cJSON *sub_infos = cJSON_CreateArray();
for (size_t j = 0; j < node->sub_count; j++) {
cJSON *sub_obj = cJSON_CreateObject();
- subscribe sub = node->sub_list[j];
+ topics sub = node->sub_list[j];
cJSON_AddStringOrNullToObject(
sub_obj, "topic", sub.topic);
cJSON_AddNumberToObject(sub_obj, "qos", sub.qos);
