diff options
Diffstat (limited to 'ipsvd')
-rw-r--r-- | ipsvd/tcpudp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsvd/tcpudp.c b/ipsvd/tcpudp.c index fc29274d2..6187eb985 100644 --- a/ipsvd/tcpudp.c +++ b/ipsvd/tcpudp.c | |||
@@ -121,7 +121,7 @@ static void sig_child_handler(int sig) | |||
121 | int wstat; | 121 | int wstat; |
122 | int pid; | 122 | int pid; |
123 | 123 | ||
124 | while ((pid = wait_nohang(&wstat)) > 0) { | 124 | while ((pid = wait_any_nohang(&wstat)) > 0) { |
125 | if (max_per_host) | 125 | if (max_per_host) |
126 | ipsvd_perhost_remove(pid); | 126 | ipsvd_perhost_remove(pid); |
127 | if (cnum) | 127 | if (cnum) |