Author: alanmc
Date: 2007-04-02 17:07:38 -0400 (Mon, 02 Apr 2007)
New Revision: 75310

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/BitField.cs
Log:
Small bugfix

Modified: trunk/bitsharp/src/MonoTorrent.Client/BitField.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/BitField.cs   2007-04-02 21:06:35 UTC 
(rev 75309)
+++ trunk/bitsharp/src/MonoTorrent.Client/BitField.cs   2007-04-02 21:07:38 UTC 
(rev 75310)
@@ -124,6 +124,7 @@
             for (int i = 0; i < this.array.Length; i++)
                 this.array[i] = ~this.array[i];
 
+            this.SetLastBitsFalse();
                        this.trueCount = this.length - this.trueCount;
             return this;
         }

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

Reply via email to