Skip to content

Commit

Permalink
Another sigaction value worth initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 17, 2015
1 parent ed4127b commit 907b13d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 907b13d

Please sign in to comment.