activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r921437 - /activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/wireformat/openwire/utils/OpenwireStringSupport.cpp
Date Wed, 10 Mar 2010 16:29:36 GMT
Author: tabish
Date: Wed Mar 10 16:29:36 2010
New Revision: 921437

URL: http://svn.apache.org/viewvc?rev=921437&view=rev
Log:
Fix for: http://issues.apache.org/activemq/browse/AMQCPP-291

Modified:
    activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/wireformat/openwire/utils/OpenwireStringSupport.cpp

Modified: activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/wireformat/openwire/utils/OpenwireStringSupport.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/wireformat/openwire/utils/OpenwireStringSupport.cpp?rev=921437&r1=921436&r2=921437&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/wireformat/openwire/utils/OpenwireStringSupport.cpp
(original)
+++ activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/wireformat/openwire/utils/OpenwireStringSupport.cpp
Wed Mar 10 16:29:36 2010
@@ -125,7 +125,7 @@ void OpenwireStringSupport::writeString(
 
     try {
 
-        if( str != NULL ) {
+        if( str != NULL && str->length() != 0 ) {
 
             int utfLength = 0;
             std::size_t length = str->length();



Mime
View raw message