Author: alanmc
Date: 2006-10-27 11:02:40 -0400 (Fri, 27 Oct 2006)
New Revision: 67028

Modified:
   
trunk/bitsharp/src/MonoTorrent.Client/PeerMessages/ExtendedMessages/ExtendedListMessage.cs
Log:
Found bug in BufferManager which was falsely announcing me as supporting 
ExtendedMessaging. Reverted previous changes

Modified: 
trunk/bitsharp/src/MonoTorrent.Client/PeerMessages/ExtendedMessages/ExtendedListMessage.cs
===================================================================
--- 
trunk/bitsharp/src/MonoTorrent.Client/PeerMessages/ExtendedMessages/ExtendedListMessage.cs
  2006-10-27 14:47:12 UTC (rev 67027)
+++ 
trunk/bitsharp/src/MonoTorrent.Client/PeerMessages/ExtendedMessages/ExtendedListMessage.cs
  2006-10-27 15:02:40 UTC (rev 67028)
@@ -32,29 +32,25 @@
 
 
         #region Methods
-#warning Not implemented... temp fix for other clients issue. I should 
disconnect if someone sends me this and i don't support
         public int Encode(byte[] buffer, int offset)
         {
-            return 0;
             throw new Exception("The method or operation is not implemented.");
         }
 
         public void Decode(byte[] buffer, int offset, int length)
         {
-            return;
             this.dictionary = (BEncodedDictionary)BEncode.Decode(buffer, 
offset, length);
         }
 
         public void Handle(PeerConnectionID id)
         {
-            return;
             throw new Exception("The method or operation is not implemented.");
         }
 
         public int ByteLength
         {
 
-            get { return 0; }// throw new Exception("The method or operation 
is not implemented."); }
+            get { throw new Exception("The method or operation is not 
implemented."); }
         }
         #endregion
     }

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

Reply via email to