mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
should_mail() now returns bool.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user