1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

Whoops, fix signal handling for SIGQUIT and SIGTERM.

This commit is contained in:
Josh Elsasser 2007-06-29 01:06:46 +00:00
parent cb82ea8e26
commit f106cce58f

View file

@ -306,11 +306,11 @@ setupsigs( struct event_base * base /* XXX */ UNUSED )
/* XXX event_base_set( base, &ev_int ); */
signal_add( &ev_int, NULL );
signal_set( &ev_quit, SIGINT, gotsig, NULL );
signal_set( &ev_quit, SIGQUIT, gotsig, NULL );
/* XXX event_base_set( base, &ev_quit ); */
signal_add( &ev_quit, NULL );
signal_set( &ev_term, SIGINT, gotsig, NULL );
signal_set( &ev_term, SIGTERM, gotsig, NULL );
/* XXX event_base_set( base, &ev_term ); */
signal_add( &ev_term, NULL );