activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r570545 - /activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.cpp
Date Tue, 28 Aug 2007 19:50:55 GMT
Author: tabish
Date: Tue Aug 28 12:50:54 2007
New Revision: 570545

URL: http://svn.apache.org/viewvc?rev=570545&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-141

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.cpp

Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.cpp?rev=570545&r1=570544&r2=570545&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/ActiveMQTextMessage.cpp
Tue Aug 28 12:50:54 2007
@@ -46,7 +46,7 @@
 std::string ActiveMQTextMessage::getText() const throw( cms::CMSException ) {
 
     try{
-        if( getContent().size() < 4 ) {
+        if( getContent().size() <= 4 ) {
             return "";
         }
 



Mime
View raw message