--- src/main.c 2002/05/25 21:27:41 1.1 +++ src/main.c 2002/05/25 21:27:53 1.2 @@ -312,9 +312,9 @@ /* Some signal handlers */ - signal(SIGTERM, SIG_Handler); - signal(SIGINT, SIG_Handler); - signal(SIGPIPE, SIG_Ignore); // SIG_IGN is ignore this signal, do nothing + sigset(SIGTERM, SIG_Handler); + sigset(SIGINT, SIG_Handler); + sigset(SIGPIPE, SIG_Ignore); // SIG_IGN is ignore this signal, do nothing /* Create the main listening socket */