From 7096d57c3a92af08fcd69727a470c9bf508666fe Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 9 Aug 2017 22:17:11 +0100 Subject: [PATCH] Documentation fix. --- src/mosquitto_broker.h | 3 +-- src/mosquitto_plugin.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mosquitto_broker.h b/src/mosquitto_broker.h index 5f702289..105e8484 100644 --- a/src/mosquitto_broker.h +++ b/src/mosquitto_broker.h @@ -72,8 +72,7 @@ void mosquitto_log_printf(int level, const char *fmt, ...); /* * Function: mosquitto_client_address * - * Retrieve the username associated with a client, or NULL if the client - * provided no username. + * Retrieve the IP address of the client as a string. */ const char *mosquitto_client_address(const struct mosquitto *client); diff --git a/src/mosquitto_plugin.h b/src/mosquitto_plugin.h index fed4de51..7dee2246 100644 --- a/src/mosquitto_plugin.h +++ b/src/mosquitto_plugin.h @@ -22,6 +22,7 @@ Contributors: #define MOSQ_ACL_NONE 0x00 #define MOSQ_ACL_READ 0x01 #define MOSQ_ACL_WRITE 0x02 +#define MOSQ_ACL_SUBSCRIBE 0x04 #include