mirror of
https://github.com/transmission/transmission
synced 2025-02-03 04:53:27 +00:00
if torrent is active you can't update the announce info
This commit is contained in:
parent
dc4e0e212b
commit
804b04a41b
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue