mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
fix warning on void return
This commit is contained in:
1 parent
54dc8374ab
commit
2ecb681277
1 file changed
+1
-1
+1
-1
@@ -181,7 +181,7 @@ static void process_signals(struct listen_endpoint* endpoint)
|
||||
received_sigchld = 0;
|
||||
do {
|
||||
chld = waitpid(-1, NULL, WNOHANG);
|
||||
CHECK_RES_RETURN(chld, "waitpid", 0);
|
||||
CHECK_RES_RETURN(chld, "waitpid", );
|
||||
if (chld) {
|
||||
endpoint->num_connections--;
|
||||
print_message(msg_fd, "child died, %d concurrent connections remaining\n", endpoint->num_connections);
|
||||
|
||||
Reference in new issue
Block a user