Shut down ipc server on fatal signal, not just torrent client.

This commit is contained in:
Josh Elsasser
2007-08-17 03:57:26 +00:00
parent 78f65331f2
commit aafd6488af
3 changed files with 18 additions and 11 deletions

View File

@@ -344,7 +344,7 @@ gotsig( int sig, short what UNUSED, void * arg UNUSED )
{
exiting = 1;
errmsg( "received fatal signal %i, attempting to exit cleanly", sig );
torrent_exit( 0 );
server_quit();
}
else
{