From 56fae440aec7abbd8d14bb48911228d4da829c0b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 6 Dec 1998 08:47:46 +0000 Subject: 1998-12-06 Roland McGrath * lmail.c (deliver, main): Add braces to silence gcc warning. --- daemons/lmail.c | 20 ++++++++++++-------- 1 file 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; + } } } -- cgit v1.2.3