activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1067822 - /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompFrame.cs
Date Sun, 06 Feb 2011 23:50:26 GMT
Author: tabish
Date: Sun Feb  6 23:50:25 2011
New Revision: 1067822

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

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

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompFrame.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompFrame.cs?rev=1067822&r1=1067821&r2=1067822&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompFrame.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompFrame.cs
Sun Feb  6 23:50:25 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