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
33386bed
Unverified
Commit
33386bed
authored
Apr 14, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Apr 14, 2020
Browse files
Merge pull request #7095 from hwware/typofixacl
fix spelling in acl.c
parents
5fece854
1323afed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
33386bed
...
@@ -1783,8 +1783,8 @@ void aclCommand(client *c) {
...
@@ -1783,8 +1783,8 @@ void aclCommand(client *c) {
long
count
=
10
;
/* Number of entries to emit by default. */
long
count
=
10
;
/* Number of entries to emit by default. */
/* Parse the only argument that LOG may have: it could be either
/* 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 number of entr
i
es the user wants to display, or alternatively
* the "RESET" command in order to flush the old ent
i
res. */
* the "RESET" command in order to flush the old entr
i
es. */
if
(
c
->
argc
==
3
)
{
if
(
c
->
argc
==
3
)
{
if
(
!
strcasecmp
(
c
->
argv
[
2
]
->
ptr
,
"reset"
))
{
if
(
!
strcasecmp
(
c
->
argv
[
2
]
->
ptr
,
"reset"
))
{
listSetFreeMethod
(
ACLLog
,
ACLFreeLogEntry
);
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