1
0
Fork 0
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:
Mitchell Livingston 2006-12-26 20:01:16 +00:00
parent de82956141
commit dc4e0e212b

View file

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