Use MAX macro from sys/param.h.
MFC after: 2 weeks.
This commit is contained in:
parent
2c953857dd
commit
a1b422f4d6
@ -1934,7 +1934,7 @@ more:
|
||||
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…
x
Reference in New Issue
Block a user