Fix typo (#84)

A simple PR to fix a typo.

Signed-off-by: Cong Chen <iamchencong@gmail.com>
This commit is contained in:
Cong Chen 2024-03-31 13:11:13 +08:00 committed by GitHub
parent b2a397366b
commit af1b0de92d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -635,7 +635,7 @@ void ACLSelectorRemoveCommandRule(aclSelector *selector, sds new_rule) {
sdsupdatelen(selector->command_rules); sdsupdatelen(selector->command_rules);
} }
/* This function is resopnsible for updating the command_rules struct so that relative ordering of /* This function is responsible for updating the command_rules struct so that relative ordering of
* commands and categories is maintained and can be reproduced without loss. */ * commands and categories is maintained and can be reproduced without loss. */
void ACLUpdateCommandRules(aclSelector *selector, const char *rule, int allow) { void ACLUpdateCommandRules(aclSelector *selector, const char *rule, int allow) {
sds new_rule = sdsnew(rule); sds new_rule = sdsnew(rule);