]> granicus.if.org Git - transmission/commitdiff
(trunk libT) fix unchoke regression
authorCharles Kerr <charles@transmissionbt.com>
Mon, 20 Sep 2010 20:32:40 +0000 (20:32 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Mon, 20 Sep 2010 20:32:40 +0000 (20:32 +0000)
libtransmission/peer-mgr.c

index 725cdf99279e09f420f2bcf1956abae8a0c1b5e1..32b5f604d1c4e9dd06d9a3c3f7d3345529732f55 100644 (file)
@@ -2688,6 +2688,7 @@ rechokeUploads( Torrent * t, const uint64_t now )
             n->wasChoked    = peer->peerIsChoked;
             n->rate         = getRate( t->tor, atom, now );
             n->salt         = tr_cryptoWeakRandInt( INT_MAX );
+            n->isChoked     = TRUE;
         }
     }