From: Thibault Godouet Date: Fri, 17 Aug 2001 19:50:08 +0000 (+0000) Subject: added a #ifdef SENDMAIL to be able to run without sendmail X-Git-Tag: ver2_9_4~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf9bb0b035415ca29cd32dd435cb9fff30e285d;p=thirdparty%2Ffcron.git added a #ifdef SENDMAIL to be able to run without sendmail --- 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); }