fixed SIGCLD -> SIGCHLD
[rsync/rsync.git] / socket.c
index 5ee31f6..27260a1 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -120,7 +120,7 @@ void start_accept_loop(int port, int (*fn)(int ))
 {
        int s;
 
-       signal(SIGCLD, SIG_IGN);
+       signal(SIGCHLD, SIG_IGN);
 
        /* open an incoming socket */
        s = open_socket_in(SOCK_STREAM, port);