Another sigaction value worth initializing

This commit is contained in:
Frank Denis 2015-10-17 17:21:51 +02:00
parent ed4127bf13
commit 907b13dbdc

View File

@ -85,6 +85,7 @@ static void connection(int sock)
io_init();
if( (host=auth_server(sock)) ){
memset(&sa, 0, sizeof sa);
sa.sa_handler=SIG_IGN;
sa.sa_flags=SA_NOCLDWAIT;;
sigaction(SIGHUP,&sa,NULL);