Fix incorrect topic-alias property value in mosquitto_sub json output.
This commit is contained in:
parent
62b68364c7
commit
0fb4e2bf6a
@ -6,6 +6,10 @@ Broker:
|
||||
- Fix std* files not being redirected when daemonising, when built with
|
||||
assertions removed. Closes #2708.
|
||||
|
||||
Clients:
|
||||
- Fix incorrect topic-alias property value in mosquitto_sub json output.
|
||||
|
||||
|
||||
2.0.15 - 2022-08-16
|
||||
===================
|
||||
|
||||
|
@ -210,7 +210,7 @@ static int json_print_properties(cJSON *root, const mosquitto_property *properti
|
||||
break;
|
||||
|
||||
case MQTT_PROP_TOPIC_ALIAS:
|
||||
mosquitto_property_read_int16(prop, MQTT_PROP_MESSAGE_EXPIRY_INTERVAL, &i16value, false);
|
||||
mosquitto_property_read_int16(prop, MQTT_PROP_TOPIC_ALIAS, &i16value, false);
|
||||
tmp = cJSON_CreateNumber(i16value);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user