if torrent is active you can't update the announce info
This commit is contained in:
parent
dc4e0e212b
commit
804b04a41b
|
@ -453,6 +453,9 @@ int tr_getFinished( tr_torrent_t * tor )
|
|||
|
||||
void tr_manualUpdate( tr_torrent_t * tor )
|
||||
{
|
||||
if( !( tor->status & TR_STATUS_ACTIVE ) )
|
||||
return;
|
||||
|
||||
tr_lockLock( &tor->lock );
|
||||
tr_trackerAnnouncePulse( tor->tracker, 1 );
|
||||
tr_lockUnlock( &tor->lock );
|
||||
|
|
Loading…
Reference in New Issue