Author: alanmc
Date: 2007-03-23 11:24:19 -0500 (Fri, 23 Mar 2007)
New Revision: 74889

Modified:
   trunk/bitsharp/src/MonoTorrent.BEncoding/BEncodedString.cs
Log:
Whoops, should've been 1 : -1, not 1 : 0

Modified: trunk/bitsharp/src/MonoTorrent.BEncoding/BEncodedString.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.BEncoding/BEncodedString.cs  2007-03-23 
16:18:21 UTC (rev 74888)
+++ trunk/bitsharp/src/MonoTorrent.BEncoding/BEncodedString.cs  2007-03-23 
16:24:19 UTC (rev 74889)
@@ -200,7 +200,7 @@
                 if ((difference = 
this.textBytes[i].CompareTo(other.textBytes[i])) != 0)
                     return difference;
 
-            return this.textBytes.Length > other.textBytes.Length ? 1 : 0;
+            return this.textBytes.Length > other.textBytes.Length ? 1 : -1;
         }
 
         #endregion

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

Reply via email to