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
98b23cce
Commit
98b23cce
authored
Feb 29, 2020
by
ShooterIT
Browse files
Avoid compiler warnings
parent
c8ae90fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
98b23cce
...
@@ -1830,6 +1830,7 @@ void aclCommand(client *c) {
...
@@ -1830,6 +1830,7 @@ void aclCommand(client *c) {
case
ACL_DENIED_CMD
:
reasonstr
=
"command"
;
break
;
case
ACL_DENIED_CMD
:
reasonstr
=
"command"
;
break
;
case
ACL_DENIED_KEY
:
reasonstr
=
"key"
;
break
;
case
ACL_DENIED_KEY
:
reasonstr
=
"key"
;
break
;
case
ACL_DENIED_AUTH
:
reasonstr
=
"auth"
;
break
;
case
ACL_DENIED_AUTH
:
reasonstr
=
"auth"
;
break
;
default:
reasonstr
=
"unknown"
;
}
}
addReplyBulkCString
(
c
,
reasonstr
);
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