mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Use MAX macro from sys/param.h.
MFC after: 2 weeks.
This commit is contained in:
parent
2c953857dd
commit
a1b422f4d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298909
|
@ -1934,7 +1934,7 @@ getconfigent(void)
|
|||
if (sep->se_bi && sep->se_bi->bi_maxchild >= 0)
|
||||
sep->se_maxchild = sep->se_bi->bi_maxchild;
|
||||
else if (sep->se_accept)
|
||||
sep->se_maxchild = maxchild > 0 ? maxchild : 0;
|
||||
sep->se_maxchild = MAX(maxchild, 0);
|
||||
else
|
||||
sep->se_maxchild = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue