Author: alanmc
Date: 2006-09-17 10:06:28 -0400 (Sun, 17 Sep 2006)
New Revision: 65543

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs
Log:
Correctly initialising List<int> suggestPieces

Modified: 
trunk/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs 
2006-09-17 14:06:06 UTC (rev 65542)
+++ trunk/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs 
2006-09-17 14:06:28 UTC (rev 65543)
@@ -305,6 +305,7 @@
         /// <param name="peerEndpoint">The IPEndpoint to connect to</param>
         public PeerConnectionBase(int bitfieldLength, IEncryptor encryptor)
         {
+            this.suggestedPieces = new List<int>();
             this.encryptor = encryptor;
             this.amChoking = true;
             this.isChoking = true;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to