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
e16eb874
Commit
e16eb874
authored
Jan 07, 2020
by
hwware
Committed by
antirez
Jan 10, 2020
Browse files
typo fix in acl.c
parent
35ea9d23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
e16eb874
...
@@ -183,12 +183,12 @@ int ACLListMatchSds(void *a, void *b) {
...
@@ -183,12 +183,12 @@ int ACLListMatchSds(void *a, void *b) {
return
sdscmp
(
a
,
b
)
==
0
;
return
sdscmp
(
a
,
b
)
==
0
;
}
}
/* Method to free list elements from ACL users password/ptterns lists. */
/* Method to free list elements from ACL users password/p
a
tterns lists. */
void
ACLListFreeSds
(
void
*
item
)
{
void
ACLListFreeSds
(
void
*
item
)
{
sdsfree
(
item
);
sdsfree
(
item
);
}
}
/* Method to duplicate list elements from ACL users password/ptterns lists. */
/* Method to duplicate list elements from ACL users password/p
a
tterns lists. */
void
*
ACLListDupSds
(
void
*
item
)
{
void
*
ACLListDupSds
(
void
*
item
)
{
return
sdsdup
(
item
);
return
sdsdup
(
item
);
}
}
...
...
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