activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1067821 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs
Date Sun, 06 Feb 2011 23:49:04 GMT
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)



Mime
View raw message