Author: alanmc
Date: 2008-01-03 09:06:12 -0500 (Thu, 03 Jan 2008)
New Revision: 92174
Modified:
trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/HandshakeMessage.cs
Log:
Cosmetic
Modified: trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/HandshakeMessage.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/HandshakeMessage.cs
2008-01-03 13:54:28 UTC (rev 92173)
+++ trunk/bitsharp/src/MonoTorrent/Client/PeerMessages/HandshakeMessage.cs
2008-01-03 14:06:12 UTC (rev 92174)
@@ -169,7 +169,7 @@
int i = 0;
protocolStringLength = (int)buffer.Array[buffer.Offset + i];
// First byte is length
-#warning Hack
+ // #warning Fix this hack - is there a better way of verifying the
protocol string? Hack
if (protocolStringLength != VersionInfo.ProtocolStringV100.Length)
protocolStringLength = VersionInfo.ProtocolStringV100.Length;
i++;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches