Commit 42b06d26 42b06d266483a73b4571192ff47ed090f3a83023 by Sergey Poznyakoff

(pop3d_daemon): Collect finished children synchronously.

1 parent 5af46750
...@@ -436,6 +436,7 @@ pop3d_daemon (unsigned int maxchildren, unsigned int port) ...@@ -436,6 +436,7 @@ pop3d_daemon (unsigned int maxchildren, unsigned int port)
436 436
437 for (;;) 437 for (;;)
438 { 438 {
439 process_cleanup ();
439 if (children > maxchildren) 440 if (children > maxchildren)
440 { 441 {
441 syslog (LOG_ERR, _("too many children (%lu)"), 442 syslog (LOG_ERR, _("too many children (%lu)"),
......