89 |
while ((pid = waitpid(-1, &status, WNOHANG)) > 0) |
while ((pid = waitpid(-1, &status, WNOHANG)) > 0) |
90 |
{ |
{ |
91 |
nchild--; |
nchild--; |
92 |
info(VERBOSE, _("Child [%d] finished. Exit status: %s. %d client(s) left."), |
info(VERBOSE, |
93 |
pid, WIFEXITED(status) ? _("OK") : _("ERROR"), nchild); |
ngettext("Child [%lu] finished. Exit status: %s. %d client left.", |
94 |
|
"Child [%lu] finished. Exit status: %s. %d clients left.", |
95 |
|
nchild), |
96 |
|
(unsigned long) pid, |
97 |
|
WIFEXITED(status) ? _("OK") : _("ERROR"), nchild); |
98 |
} |
} |
99 |
return; |
return; |
100 |
} |
} |