]> granicus.if.org Git - sudo/commitdiff
Convert two debug_return_int to debug_return_bool.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 May 2015 16:40:46 +0000 (10:40 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 May 2015 16:40:46 +0000 (10:40 -0600)
plugins/sudoers/logging.c

index 5338749c7f6c8fbe4756aa26f1069b83f6479dc7..7866b0a747cd12ef59cf410e2cebf226225bac49 100644 (file)
@@ -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. */