Skip to content

Commit

Permalink
Fix Will message not allowing user-property properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Sep 17, 2019
1 parent 127b6a3 commit 9459269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/property_broker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9459269

Please sign in to comment.