Author: alanmc
Date: 2007-12-21 10:35:33 -0500 (Fri, 21 Dec 2007)
New Revision: 91767
Modified:
trunk/bitsharp/src/MonoTorrent/Tracker/SimpleTorrentManager.cs
Log:
That patch isn't complete - revert ;)
Modified: trunk/bitsharp/src/MonoTorrent/Tracker/SimpleTorrentManager.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Tracker/SimpleTorrentManager.cs
2007-12-21 15:33:28 UTC (rev 91766)
+++ trunk/bitsharp/src/MonoTorrent/Tracker/SimpleTorrentManager.cs
2007-12-21 15:35:33 UTC (rev 91767)
@@ -120,16 +120,17 @@
#region Constructors
- public SimpleTorrentManager(ITrackable trackable)
- : this(trackable, new IPAddressComparer())
- {
+ //public SimpleTorrentManager(ITrackable trackable)
+ // : this(trackable, new IPAddressComparer())
+ //{
- }
+ //}
- public SimpleTorrentManager(ITrackable trackable,
IEqualityComparer<Peer> comparer)
+ // FIXME: Use the comparer
+ public SimpleTorrentManager(ITrackable trackable)//,
IEqualityComparer<Peer> comparer)
{
this.trackable = trackable;
- peers = new Dictionary<IPAddress, Peer>(comparer);
+ peers = new Dictionary<IPAddress, Peer>();
random = new Random();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches