send_mail();
#ifdef SYSLOG
+#ifdef Syslog_facility
openlog(Syslog_ident, Syslog_options, Syslog_facility);
+#else
+ openlog(Syslog_ident, Syslog_options);
+#endif /* Syslog_facility */
+
/*
* Log the full line, breaking into multiple syslog(3) calls if necesary
*/
/*
* Syslog(3) parameters
*/
+
#ifdef SYSLOG
# include <syslog.h>
# ifndef Syslog_ident
# ifndef Syslog_options
# define Syslog_options 0
# endif
-# ifndef Syslog_facility
+# if !defined(Syslog_facility) && defined(LOG_LOCAL2)
# define Syslog_facility LOG_LOCAL2
# endif
# ifndef Syslog_priority_OK