(trunk cli) #4595 "transmission-cli does not stop on SIGINT" -- fixed with patch from dyogene

This commit is contained in:
Jordan Lee 2011-10-26 17:44:28 +00:00
parent 7c9fdfa8dd
commit 7f8d802405
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );