From: Todd C. Miller Date: Thu, 7 May 2015 16:40:46 +0000 (-0600) Subject: Convert two debug_return_int to debug_return_bool. X-Git-Tag: SUDO_1_8_14^2~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eea4e1afd9d53b52858827b52be77c8215371a84;p=sudo Convert two debug_return_int to debug_return_bool. --- diff --git a/plugins/sudoers/logging.c b/plugins/sudoers/logging.c index 5338749c7..7866b0a74 100644 --- a/plugins/sudoers/logging.c +++ b/plugins/sudoers/logging.c @@ -576,14 +576,14 @@ send_mail(const char *fmt, ...) /* Make sure the mailer exists and is a regular file. */ if (stat(def_mailerpath, &sb) != 0 || !S_ISREG(sb.st_mode)) - debug_return_int(false); + debug_return_bool(false); /* Fork and return, child will daemonize. */ switch (pid = sudo_debug_fork()) { case -1: /* Error. */ sudo_warn(U_("unable to fork")); - debug_return_int(false); + debug_return_bool(false); break; case 0: /* Child. */