Author: alanmc
Date: 2007-11-20 19:03:18 -0500 (Tue, 20 Nov 2007)
New Revision: 90051
Modified:
trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/FastPeerExtensions/HaveAllMessage.cs
Log:
Cosmetic - More consistant usage of PieceManager.IsInteresting(PeerIdInternal)
Modified:
trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/FastPeerExtensions/HaveAllMessage.cs
===================================================================
---
trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/FastPeerExtensions/HaveAllMessage.cs
2007-11-21 00:02:37 UTC (rev 90050)
+++
trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/FastPeerExtensions/HaveAllMessage.cs
2007-11-21 00:03:18 UTC (rev 90051)
@@ -73,7 +73,7 @@
id.Peer.Connection.BitField.SetAll(true);
id.Peer.IsSeeder = true;
- id.TorrentManager.SetAmInterestedStatus(id,
!id.TorrentManager.Complete);
+ id.TorrentManager.SetAmInterestedStatus(id,
id.TorrentManager.PieceManager.IsInteresting(id));
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches