[sudo-commits] sudo changeset 10585:1112b894007c

Todd C. Miller Todd.Miller at courtesan.com
Fri Aug 12 11:13:31 MDT 2016


changeset:	10585:1112b894007c in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/1112b894007c
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri Aug 12 10:37:41 2016 -0600

Log Message:
	Refactor the error parts of set_default_entry() so the switch() is
	mostly just calls to store_foo() functions.  Avoids a lot of
	duplicated error checking and silences a cppcheck false positive.

diffstat:

 plugins/sudoers/defaults.c |  181 +++++++++++---------------------------------
 1 files changed, 45 insertions(+), 136 deletions(-)


More information about the sudo-commits mailing list