Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
Support MOSQ_ACL_SUBSCRIBE
Browse files Browse the repository at this point in the history
  • Loading branch information
vankxr authored May 3, 2019
1 parent d64dbcb commit 06d722d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth-plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 06d722d

Please sign in to comment.