1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

revert the last commit -- the Mac client uses the isIdle flag to know when hibernation is allowed

This commit is contained in:
Jordan Lee 2011-08-04 04:31:14 +00:00
parent d8a11a33f1
commit 7915b49b03

View file

@ -1141,8 +1141,7 @@ torrentGetIdleSecs( const tr_torrent * tor )
bool
tr_torrentIsStalled( const tr_torrent * tor )
{
return tr_sessionGetQueueEnabled( tor->session, tr_torrentGetQueueDirection( tor ) )
&& ( torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 ) );
return torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 );
}