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
fe81d5c8
Commit
fe81d5c8
authored
Feb 29, 2020
by
ShooterIT
Committed by
antirez
Mar 05, 2020
Browse files
Avoid compiler warnings
parent
c2f01d7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
fe81d5c8
...
...
@@ -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
);
...
...
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