# HG changeset patch # User mortenp # Date 1181500820 -36000 # Node ID a5e0c397608612604073c54d902d4830c93d8b1b # Parent 436eea81bc20192545d20db45777b9d0aa5509f5 Fixed missing exit()s in case of failed execl() calls (Ansgar Burchardt) diff -r 436eea81bc20 -r a5e0c3976086 ChangeLog --- a/ChangeLog Mon Jun 11 04:05:02 2007 +1000 +++ b/ChangeLog Mon Jun 11 04:40:20 2007 +1000 @@ -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 -r 436eea81bc20 -r a5e0c3976086 src/mlmmj-sub.c --- a/src/mlmmj-sub.c Mon Jun 11 04:05:02 2007 +1000 +++ b/src/mlmmj-sub.c Mon Jun 11 04:40:20 2007 +1000 @@ -170,6 +170,7 @@ "-R", replyto, "-m", queuefilename, (char *)NULL); log_error(LOG_ARGS, "execl() of '%s' failed", mlmmjsend); + exit(EXIT_FAILURE); } myfree(to); @@ -191,6 +192,7 @@ "-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,