Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
552b36e6
Commit
552b36e6
authored
Apr 14, 2020
by
antirez
Browse files
Merge branch 'unstable' of github.com:/antirez/redis into unstable
parents
086c1db2
33386bed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
552b36e6
...
...
@@ -1783,8 +1783,8 @@ void aclCommand(client *c) {
long
count
=
10
;
/* Number of entries to emit by default. */
/* Parse the only argument that LOG may have: it could be either
* the number of ent
i
res the user wants to display, or alternatively
* the "RESET" command in order to flush the old ent
i
res. */
* the number of entr
i
es the user wants to display, or alternatively
* the "RESET" command in order to flush the old entr
i
es. */
if
(
c
->
argc
==
3
)
{
if
(
!
strcasecmp
(
c
->
argv
[
2
]
->
ptr
,
"reset"
))
{
listSetFreeMethod
(
ACLLog
,
ACLFreeLogEntry
);
...
...
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