From 708874a000380c07a5453b58af3641987f4253ed Mon Sep 17 00:00:00 2001 From: thib Date: Fri, 17 Aug 2001 19:50:08 +0000 Subject: [PATCH] added a #ifdef SENDMAIL to be able to run without sendmail --- subs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subs.c b/subs.c index 829e7ad..2fca3ba 100644 --- a/subs.c +++ b/subs.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: subs.c,v 1.14 2001-07-09 11:50:13 thib Exp $ */ + /* $Id: subs.c,v 1.15 2001-08-17 19:50:08 thib Exp $ */ #include "global.h" #include "subs.h" @@ -144,7 +144,9 @@ init_conf(void) fcronallow = strdup2(ETC "/" FCRON_ALLOW); fcrondeny = strdup2(ETC "/" FCRON_DENY); shell = strdup2(SHELL); +#ifdef SENDMAIL sendmail = strdup2(SENDMAIL); +#endif editor = strdup2(EDITOR); } -- 2.40.0