document previous todo

This commit is contained in:
John
2022-02-05 16:21:26 +01:00
parent 916f31fab0
commit 21fa9ba43e
+1 -1
View File
@@ -1402,7 +1402,7 @@ void MqttHandler::run() {
}
string fieldName = message->getFieldName(index);
if (fieldName.empty() && fieldCount == 1) {
fieldName = "0"; // TODO should not occur
fieldName = "0"; // might occur for unnamed single field sets
}
if (!FileReader::matches(fieldName, filterField, true, true)) {
continue;