Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a65094da
Commit
a65094da
authored
Feb 13, 2019
by
zhaozhao.zz
Browse files
ACL: fix cat type format warning
parent
fb7bfc17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
a65094da
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment