summaryrefslogtreecommitdiff
path: root/daemons/lmail.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-12-06 08:47:46 +0000
committerRoland McGrath <roland@gnu.org>1998-12-06 08:47:46 +0000
commit56fae440aec7abbd8d14bb48911228d4da829c0b (patch)
tree9ed095343e1a62f72268881ace759c004d6d9357 /daemons/lmail.c
parentd45066345f3093e351376539f31bcaec9cae94dd (diff)
1998-12-06 Roland McGrath <roland@baalperazim.frob.com>
* lmail.c (deliver, main): Add braces to silence gcc warning.
Diffstat (limited to 'daemons/lmail.c')
-rw-r--r--daemons/lmail.c20
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;
+ }
}
}