summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mail/send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mail/send.c b/usr.bin/mail/send.c
index 7351cc5..a4fa9a1 100644
--- a/usr.bin/mail/send.c
+++ b/usr.bin/mail/send.c
@@ -422,7 +422,7 @@ fixhead(hp, tolist)
hp->h_to = NULL;
hp->h_cc = NULL;
hp->h_bcc = NULL;
- for (np = tolist; np != NULL; np = np->n_flink)
+ for (np = tolist; np != NULL; np = np->n_flink) {
/* Don't copy deleted addresses to the header */
if (np->n_type & GDEL)
continue;
@@ -435,6 +435,7 @@ fixhead(hp, tolist)
else if ((np->n_type & GMASK) == GBCC)
hp->h_bcc =
cat(hp->h_bcc, nalloc(np->n_name, np->n_type));
+ }
}
/*
OpenPOWER on IntegriCloud