From 5415b3d2af1cdfc5de54eea6bd2a28c893d18ebf Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 21 Jan 2015 10:33:56 -0700 Subject: [PATCH] should_mail() now returns bool. --- plugins/sudoers/logging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sudoers/logging.c b/plugins/sudoers/logging.c index 08403b40c..56f642fcc 100644 --- a/plugins/sudoers/logging.c +++ b/plugins/sudoers/logging.c @@ -65,7 +65,7 @@ static void do_syslog(int, char *); static void do_logfile(char *); static bool send_mail(const char *fmt, ...); -static int should_mail(int); +static bool should_mail(int); static void mysyslog(int, const char *, ...); static char *new_logline(const char *, int); @@ -751,7 +751,7 @@ send_mail(const char *fmt, ...) /* * Determine whether we should send mail based on "status" and defaults options. */ -static int +static bool should_mail(int status) { debug_decl(should_mail, SUDOERS_DEBUG_LOGGING, sudoers_debug_instance) -- 2.50.1