lock torrent when manual announcing

This commit is contained in:
Mitchell Livingston 2006-12-26 20:01:16 +00:00
parent de82956141
commit dc4e0e212b
1 changed files with 2 additions and 0 deletions

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 )