You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2011/02/07 00:49:04 UTC

svn commit: r1067821 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs

Author: tabish
Date: Sun Feb  6 23:49:04 2011
New Revision: 1067821

URL: http://svn.apache.org/viewvc?rev=1067821&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQNET-315

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs?rev=1067821&r1=1067820&r2=1067821&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs Sun Feb  6 23:49:04 2011
@@ -232,7 +232,7 @@ namespace Apache.NMS.Stomp.Protocol
             {
                 MemoryStream ms = new MemoryStream();
                 int nextChar;
-                while((nextChar = dataIn.Read()) != 0)
+                while((nextChar = dataIn.ReadByte()) != 0)
                 {
                     // The first Null in this case marks the end of data.
                     if(nextChar < 0)