}
/* start up a bunch of children */
-static void startup_children(int number_to_start)
+static int startup_children(int number_to_start)
{
int i;
}
--number_to_start;
}
+ return number_to_start;
}
* generation of children needed to be reaped... so assume
* they're all done, and pick up the slack if any is left.
*/
- startup_children(remaining_children_to_start);
- remaining_children_to_start = 0;
+ remaining_children_to_start = \
+ startup_children(remaining_children_to_start);
/* In any event we really shouldn't do the code below because
* few of the servers we just started are in the IDLE state
* yet, so we'd mistakenly create an extra server.
*/
remaining_children_to_start = ap_num_daemons;
if (!is_graceful) {
- startup_children(remaining_children_to_start);
- remaining_children_to_start = 0;
+ remaining_children_to_start = \
+ startup_children(remaining_children_to_start);
}
else {
/* give the system some time to recover before kicking into