Author: alanmc
Date: 2006-11-27 14:00:05 -0500 (Mon, 27 Nov 2006)
New Revision: 68526
Modified:
trunk/bitsharp/src/MonoTorrent.Client/PiecePicking/EndGamePicker.cs
Log:
Not sure how this happened, but i was accidently setting peers to "not
interesting" when they were actually interesting. Downloads should now finish
all the time.
Modified: trunk/bitsharp/src/MonoTorrent.Client/PiecePicking/EndGamePicker.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/PiecePicking/EndGamePicker.cs
2006-11-27 18:34:59 UTC (rev 68525)
+++ trunk/bitsharp/src/MonoTorrent.Client/PiecePicking/EndGamePicker.cs
2006-11-27 19:00:05 UTC (rev 68526)
@@ -39,7 +39,7 @@
lock (this.requestsLocker)
{
for(int i=0; i<this.pieces.Count;i++)
- if (!id.Peer.Connection.BitField[pieces[i].Index])
+ if (id.Peer.Connection.BitField[pieces[i].Index])
return true;
return false;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches