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
bd07f121
Unverified
Commit
bd07f121
authored
Mar 02, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 02, 2020
Browse files
Merge pull request #6944 from ShooterIT/acl-compiler-warning
To avoid compiler warnings
parents
7ca81170
98b23cce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
bd07f121
...
@@ -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