Author: alanmc
Date: 2007-04-01 16:03:36 -0400 (Sun, 01 Apr 2007)
New Revision: 75267

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/BitField.cs
Log:
Update to ensure AllFalseSecure calculated correctly

Modified: trunk/bitsharp/src/MonoTorrent.Client/BitField.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/BitField.cs   2007-04-01 20:03:11 UTC 
(rev 75266)
+++ trunk/bitsharp/src/MonoTorrent.Client/BitField.cs   2007-04-01 20:03:36 UTC 
(rev 75267)
@@ -327,6 +327,7 @@
 
                internal bool AllFalseSecure()
                {
+                       SetLastBitsFalse();
                        for (int i = 0; i < this.array.Length; i++)
                                if (this.array[i] != 0)
                                        return false;

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

Reply via email to