Merge pull request #6748 from hwware/typofix

typo fix in acl.c
This commit is contained in:
Salvatore Sanfilippo
2020-01-08 13:06:06 +01:00
committed by GitHub

View File

@ -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/patterns 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/patterns lists. */
void *ACLListDupSds(void *item) { void *ACLListDupSds(void *item) {
return sdsdup(item); return sdsdup(item);
} }