(trunk libT) fix the &event= key when telling the tracker that a partial seed is being stopped

This commit is contained in:
Charles Kerr 2010-02-09 21:51:11 +00:00
parent 23b24436dc
commit 8ba3442408
1 changed files with 2 additions and 1 deletions

View File

@ -1418,7 +1418,8 @@ getAnnounceEvent( const tr_tier * tier )
* it MUST send an event=paused parameter in every announce while
* it is a partial seed." */
if( tr_cpGetStatus( &tier->tor->completion ) == TR_PARTIAL_SEED )
return "paused";
if( strcmp( tier->announceEvent, "stopped" ) )
return "paused";
event = tier->announceEvent;