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/01/24 16:40:52 UTC

svn commit: r1062836 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.cpp

Author: tabish
Date: Mon Jan 24 15:40:52 2011
New Revision: 1062836

URL: http://svn.apache.org/viewvc?rev=1062836&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQCPP-346

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.cpp?rev=1062836&r1=1062835&r2=1062836&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.cpp Mon Jan 24 15:40:52 2011
@@ -277,7 +277,7 @@ void BaseDataStreamMarshaller::tightMars
                 dataOut->writeShort( (short)value.length() );
                 dataOut->writeBytes( value );
             } else {
-                dataOut->writeChars( value );
+                dataOut->writeUTF( value );
             }
         }
     }