Fix Will message not allowing user-property properties.

This commit is contained in:
Roger A. Light 2019-04-30 09:56:08 +01:00
parent 203949a512
commit a9f17cea95
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Broker:
one of `content-type`, `correlation-data`, `payload-format-indicator`, or
`response-topic`. Closes #1244.
- Fix build for WITH_TLS=no. Closes #1250.
- Fix Will message not allowing user-property properties.
Library:
- Fix crash after client has been unable to connect to a broker. This occurs

View File

@ -70,6 +70,7 @@ int property__process_will(struct mosquitto *context, struct mosquitto_message_a
case MQTT_PROP_CORRELATION_DATA:
case MQTT_PROP_PAYLOAD_FORMAT_INDICATOR:
case MQTT_PROP_RESPONSE_TOPIC:
case MQTT_PROP_USER_PROPERTY:
if(msg_properties){
msg_properties_last->next = p;
msg_properties_last = p;