Merge pull request #6944 from ShooterIT/acl-compiler-warning

To avoid compiler warnings
This commit is contained in:
Salvatore Sanfilippo
2020-03-02 16:53:17 +01:00
committed by GitHub

View File

@ -1830,6 +1830,7 @@ void aclCommand(client *c) {
case ACL_DENIED_CMD: reasonstr="command"; break;
case ACL_DENIED_KEY: reasonstr="key"; break;
case ACL_DENIED_AUTH: reasonstr="auth"; break;
default: reasonstr="unknown";
}
addReplyBulkCString(c,reasonstr);