Fix UNSUBACK messages not being logged.
Closes #903. Thanks to Christoph Krey.
This commit is contained in:
parent
7c496153a9
commit
7c94a73c17
@ -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…
Reference in New Issue
Block a user