summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-12-19 22:25:11 +0000
committerache <ache@FreeBSD.org>2001-12-19 22:25:11 +0000
commit3e366cfcabf079172d6a3c594fc2c37fdc949953 (patch)
treec3bca75a180a4e9b810cb7700a9c6952690cc491 /usr.bin/mail
parent8d59503ab28990d5f3e683cef1f40660c7b50508 (diff)
downloadFreeBSD-src-3e366cfcabf079172d6a3c594fc2c37fdc949953.zip
FreeBSD-src-3e366cfcabf079172d6a3c594fc2c37fdc949953.tar.gz
Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge)
Diffstat (limited to 'usr.bin/mail')
-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