if torrent is active you can't update the announce info

This commit is contained in:
Mitchell Livingston 2006-12-26 20:11:30 +00:00
parent dc4e0e212b
commit 804b04a41b
1 changed files with 3 additions and 0 deletions

View File

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