diff options
-rw-r--r-- | daemons/lmail.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/daemons/lmail.c b/daemons/lmail.c index 89599837..2013589a 100644 --- a/daemons/lmail.c +++ b/daemons/lmail.c @@ -377,10 +377,12 @@ deliver (int msg, char *msg_name, char *rcpt, int flags, struct params *params) ex = SYSERR ("%s", msg_name); } if (! ex) - if (flags & D_PROCESS) - ex = process (msg, msg_name, fd, mbox, params); - else - ex = copy (msg, msg_name, fd, mbox); + { + if (flags & D_PROCESS) + ex = process (msg, msg_name, fd, mbox, params); + else + ex = copy (msg, msg_name, fd, mbox); + } } if (fd >= 0) @@ -517,10 +519,12 @@ main (int argc, char **argv) messages) is preferable to not delivering the temporary failures. */ if (ex != EX_TEMPFAIL) - if (rex == EX_TEMPFAIL) - ex = EX_TEMPFAIL; - else if (! ex) - ex = rex; + { + if (rex == EX_TEMPFAIL) + ex = EX_TEMPFAIL; + else if (! ex) + ex = rex; + } } } |