]> granicus.if.org Git - transmission/commitdiff
(trunk cli) #4595 "transmission-cli does not stop on SIGINT" -- fixed with patch...
authorJordan Lee <jordan@transmissionbt.com>
Wed, 26 Oct 2011 17:44:28 +0000 (17:44 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 26 Oct 2011 17:44:28 +0000 (17:44 +0000)
cli/cli.c

index 923e5dbd2ed1a5d4e4226e2936ec48e46eea2655..64ee36824ed0afd74947403f06f2e876fb7ba9f0 100644 (file)
--- a/cli/cli.c
+++ b/cli/cli.c
@@ -346,7 +346,7 @@ main( int argc, char ** argv )
         }
 
         st = tr_torrentStat( tor );
-        if( st->activity & TR_STATUS_STOPPED )
+        if( st->activity == TR_STATUS_STOPPED )
             break;
 
         getStatusStr( st, line, sizeof( line ) );