]> granicus.if.org Git - sudo/commitdiff
MAILER -> _PATH_SENDMAIL
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Sep 1998 23:52:41 +0000 (23:52 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Sep 1998 23:52:41 +0000 (23:52 +0000)
logging.c

index 1e1d64b9e7f60f481664c5acd2b5a9ec3fdaee9b..c0e76371b8b83d0b9f544375c97dea0f1e12a846 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -440,7 +440,7 @@ void log_error(code)
 
 
 
-#ifdef MAILER
+#ifdef _PATH_SENDMAIL
 /**********************************************************************
  *
  *  send_mail()
@@ -453,7 +453,7 @@ static char *mail_argv[] = { "sendmail", "-t", (char *) NULL };
 
 static void send_mail()
 {
-    char *mailer = MAILER;
+    char *mailer = _PATH_SENDMAIL;
     char *subject = MAILSUBJECT;
     int fd[2];
     char *p;
@@ -534,7 +534,7 @@ static void send_mail()
     /* no mailer defined */
     return;
 }
-#endif /* MAILER */
+#endif /* _PATH_SENDMAIL */