mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 08:00:49 +00:00
ACL: fix cat type format warning
This commit is contained in:
parent
fb7bfc17cd
commit
a65094dae8
@ -1446,7 +1446,7 @@ void aclCommand(client *c) {
|
||||
} else if (!strcasecmp(sub,"cat") && c->argc == 3) {
|
||||
uint64_t cflag = ACLGetCommandCategoryFlagByName(c->argv[2]->ptr);
|
||||
if (cflag == 0) {
|
||||
addReplyErrorFormat(c, "Unknown category '%s'", c->argv[2]->ptr);
|
||||
addReplyErrorFormat(c, "Unknown category '%s'", (char*)c->argv[2]->ptr);
|
||||
return;
|
||||
}
|
||||
int arraylen = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user