(trunk libT) fix the &event= key when telling the tracker that a partial seed is being stopped
This commit is contained in:
parent
23b24436dc
commit
8ba3442408
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue