2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

rename validate() to the more descriptive sudoers_lookup()

This commit is contained in:
Todd C. Miller
1999-08-01 15:42:12 +00:00
parent ef4302501f
commit 6b3909c780
3 changed files with 6 additions and 6 deletions

2
sudo.c
View File

@@ -263,7 +263,7 @@ main(argc, argv)
add_env(!(sudo_mode & MODE_SHELL)); /* add in SUDO_* envariables */
/* Validate the user but don't search for pseudo-commands. */
validated = validate((sudo_mode != MODE_VALIDATE && sudo_mode != MODE_LIST));
validated = sudoers_lookup((sudo_mode != MODE_VALIDATE && sudo_mode != MODE_LIST));
switch (validated) {
case VALIDATE_OK: