mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05: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…
Reference in New Issue
Block a user