Fix UNSUBACK messages not being logged.

Closes #903.

Thanks to Christoph Krey.
pull/1600/head
Roger A. Light 7 years ago
parent f530ef93d1
commit e64948979d

@ -21,6 +21,7 @@ Broker:
- Fix bridge publishing failing when per_listener_settings was true. Closes - Fix bridge publishing failing when per_listener_settings was true. Closes
#860. #860.
- Fix `use_identity_as_username true` not working. Closes #833. - Fix `use_identity_as_username true` not working. Closes #833.
- Fix UNSUBACK messages not being logged. Closes #903.
Library: Library:
- Fix some places where return codes were incorrect, including to the - Fix some places where return codes were incorrect, including to the

@ -92,6 +92,8 @@ int handle__unsubscribe(struct mosquitto_db *db, struct mosquitto *context)
db->persistence_changes++; db->persistence_changes++;
#endif #endif
log__printf(NULL, MOSQ_LOG_DEBUG, "Sending UNSUBACK to %s", context->id);
return send__command_with_mid(context, UNSUBACK, mid, false); return send__command_with_mid(context, UNSUBACK, mid, false);
} }

Loading…
Cancel
Save