mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 03:39:02 +00:00
Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge)
This commit is contained in:
parent
6d48fa4387
commit
5089267998
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88229
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user