Remove now-unused VALIDATE_ERROR define.

This commit is contained in:
Todd C. Miller
2015-01-21 10:36:55 -07:00
parent 5415b3d2af
commit 399d364a90
2 changed files with 3 additions and 4 deletions

View File

@@ -756,7 +756,7 @@ should_mail(int status)
{
debug_decl(should_mail, SUDOERS_DEBUG_LOGGING, sudoers_debug_instance)
debug_return_bool(def_mail_always || ISSET(status, VALIDATE_ERROR) ||
debug_return_bool(def_mail_always ||
(def_mail_no_user && ISSET(status, FLAG_NO_USER)) ||
(def_mail_no_host && ISSET(status, FLAG_NO_HOST)) ||
(def_mail_no_perms && !ISSET(status, VALIDATE_OK)));