Pass "make spell" with updated codespell.
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
CIFuzz / Fuzzing (push) Waiting to run

This commit is contained in:
Todd C. Miller
2024-04-29 09:19:52 -06:00
parent 195b7c2bc6
commit 27963e39f3
9 changed files with 21 additions and 20 deletions

View File

@@ -333,7 +333,7 @@ role_to_sudoers(struct sudoers_parse_tree *parse_tree, struct sudo_role *role,
*/
if (reuse_userspec) {
/* Re-use the previous userspec */
/* Reuse the previous userspec */
us = TAILQ_LAST(&parse_tree->userspecs, userspec_list);
} else {
/* Allocate a new userspec and fill in the user list. */
@@ -388,7 +388,7 @@ role_to_sudoers(struct sudoers_parse_tree *parse_tree, struct sudo_role *role,
if (role->cn != NULL) {
struct sudoers_comment *comment = NULL;
if (reuse_userspec) {
/* Try to re-use comment too. */
/* Try to reuse comment too. */
STAILQ_FOREACH(comment, &us->comments, entries) {
if (strncasecmp(comment->str, "sudoRole ", 9) == 0) {
char *tmpstr;