diff --git a/auth-plug.c b/auth-plug.c index 4cec9e4c..43329eff 100644 --- a/auth-plug.c +++ b/auth-plug.c @@ -652,11 +652,11 @@ int mosquitto_auth_acl_check(void *userdata, const char *clientid, const char *u return MOSQ_DENY_ACL; } - _log(LOG_DEBUG, "mosquitto_auth_acl_check(..., %s, %s, %s, %s)", + _log(LOG_DEBUG, "mosquitto_auth_acl_check(..., %s, %s, %s, %d)", clientid ? clientid : "NULL", username ? username : "NULL", topic ? topic : "NULL", - access == MOSQ_ACL_READ ? "MOSQ_ACL_READ" : "MOSQ_ACL_WRITE" ); + access ); granted = acl_cache_q(clientid, username, topic, access, userdata);