From: mortenp Date: Sun, 10 Jun 2007 18:40:20 +0000 (+1000) Subject: Fixed missing exit()s in case of failed execl() calls (Ansgar Burchardt) X-Git-Tag: RELEASE_1_2_15_RC1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5c3ae9ed303e16066bdcf2620e976a209f3b53d;p=thirdparty%2Fmlmmj.git Fixed missing exit()s in case of failed execl() calls (Ansgar Burchardt) --- diff --git a/ChangeLog b/ChangeLog index ac7ef047..1240243b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + o Fixed missing exit()s in case of failed execl() calls (Ansgar Burchardt) o Changed Message-ID headers to include FQDN (Ansgar Burchardt) o Added support for 'discard' keyword in access rules (Sascha Sommer) 1.2.14 diff --git a/src/mlmmj-sub.c b/src/mlmmj-sub.c index b1bf63c9..8a2a68c1 100644 --- a/src/mlmmj-sub.c +++ b/src/mlmmj-sub.c @@ -170,6 +170,7 @@ void moderate_sub(const char *listdir, const char *listaddr, "-R", replyto, "-m", queuefilename, (char *)NULL); log_error(LOG_ARGS, "execl() of '%s' failed", mlmmjsend); + exit(EXIT_FAILURE); } myfree(to); @@ -191,6 +192,7 @@ void moderate_sub(const char *listdir, const char *listaddr, "-F", from, "-m", queuefilename, (char *)NULL); log_error(LOG_ARGS, "execl() of '%s' failed", mlmmjsend); + exit(EXIT_FAILURE); } void getaddrandtype(const char *listdir, const char *modstr,