From e97ced5a37e8b5436248c532df323014ef62e83d Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 5 Sep 2008 15:13:06 +0000 Subject: [PATCH] (win32) There is no SIGHUP --- cli/cli.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/cli.c b/cli/cli.c index 2a2c5c9e0..4c18148b7 100644 --- a/cli/cli.c +++ b/cli/cli.c @@ -375,8 +375,9 @@ main( int argc, char ** argv ) } signal( SIGINT, sigHandler ); +#ifndef WIN32 signal( SIGHUP, sigHandler ); - +#endif tr_torrentSetStatusCallback( tor, torrentStateChanged, NULL ); tr_torrentStart( tor ); @@ -538,7 +539,9 @@ sigHandler( int signal ) switch( signal ) { case SIGINT: gotsig = 1; break; +#ifndef WIN32 case SIGHUP: manualUpdate = 1; break; +#endif default: break; } }