Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy A. Bish committed Feb 6, 2011
1 parent aa50cf1 commit e61298a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/csharp/Protocol/StompFrame.cs
Expand Up @@ -232,7 +232,7 @@ private void ReadContent(BinaryReader dataIn)
{
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)
Expand Down

0 comments on commit e61298a

Please sign in to comment.