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 8ee9d0c..b1effc0 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);
 }