mirror of
https://github.com/transmission/transmission
synced 2025-03-03 10:15:45 +00:00
(win32) There is no SIGHUP
This commit is contained in:
parent
da3ca8d16e
commit
e97ced5a37
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue