]> granicus.if.org Git - transmission/commitdiff
(trunk libT) fix the &event= key when telling the tracker that a partial seed is...
authorCharles Kerr <charles@transmissionbt.com>
Tue, 9 Feb 2010 21:51:11 +0000 (21:51 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Tue, 9 Feb 2010 21:51:11 +0000 (21:51 +0000)
libtransmission/announcer.c

index 1c190b00623731212ee34d38c966008a2f6f9100..a1b06973309335ff2e0686ac8c294475cc7b6c42 100644 (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;