]> p2p-next.cs.pub.ro Git - swift-upb.git/commitdiff
twisting is back
authorvictor <victor@e16421f0-f15b-0410-abcd-98678b794739>
Tue, 10 Nov 2009 13:12:04 +0000 (13:12 +0000)
committervictor <victor@e16421f0-f15b-0410-abcd-98678b794739>
Tue, 10 Nov 2009 13:12:04 +0000 (13:12 +0000)
git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@527 e16421f0-f15b-0410-abcd-98678b794739

transfer.cpp

index 8ee9d0cf4e06874aa992a7d9a51487e2b35ac61f..b1effc09c0915c778e4797e55d06cc9c74d67cc9 100644 (file)
@@ -35,7 +35,7 @@ FileTransfer::FileTransfer (const char* filename, const Sha1Hash& _root_hash) :
         files.resize(fd()+1);
     files[fd()] = this;
     picker_ = new SeqPiecePicker(this);
-    //picker_->Randomize(rand()&63);
+    picker_->Randomize(rand()&63);
 }