aqhome-react: rename "name" to "typeName" in AQHREACT_Unit
This commit is contained in:
@@ -180,7 +180,7 @@ AQHREACT_UNIT *AqHomeReact_CreateUnitByName(AQHOME_REACT *aqh, const char *unitT
|
||||
else {
|
||||
const char *s;
|
||||
|
||||
s=AQHREACT_Unit_GetName(unit);
|
||||
s=AQHREACT_Unit_GetTypeName(unit);
|
||||
if (!(s && *s && strcasecmp(s, unitType)==0)) {
|
||||
DBG_ERROR(NULL, "ERROR: Network file for type \"%s\" contains type \"%s\" instead", unitType, s?s:"<no name>");
|
||||
AQHREACT_Unit_free(unit);
|
||||
|
||||
Reference in New Issue
Block a user