mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
lock torrent when manual announcing
This commit is contained in:
parent
de82956141
commit
dc4e0e212b
1 changed files with 2 additions and 0 deletions
|
@ -453,7 +453,9 @@ int tr_getFinished( tr_torrent_t * tor )
|
|||
|
||||
void tr_manualUpdate( tr_torrent_t * tor )
|
||||
{
|
||||
tr_lockLock( &tor->lock );
|
||||
tr_trackerAnnouncePulse( tor->tracker, 1 );
|
||||
tr_lockUnlock( &tor->lock );
|
||||
}
|
||||
|
||||
tr_stat_t * tr_torrentStat( tr_torrent_t * tor )
|
||||
|
|
Loading…
Reference in a new issue