activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r474529 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/common/AbstractTester.cpp
Date Mon, 13 Nov 2006 21:28:24 GMT
Author: tabish
Date: Mon Nov 13 13:28:24 2006
New Revision: 474529

URL: http://svn.apache.org/viewvc?view=rev&rev=474529
Log:
Fix passing string to printf to passing c_str()

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/common/AbstractTester.cpp

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/common/AbstractTester.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/common/AbstractTester.cpp?view=diff&rev=474529&r1=474528&r2=474529
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/common/AbstractTester.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/common/AbstractTester.cpp
Mon Nov 13 13:28:24 2006
@@ -217,7 +217,7 @@
     {
         std::string text = txtMsg->getText();
 
-            printf("received text msg: %s\n", txtMsg->getText() );
+            printf("received text msg: %s\n", txtMsg->getText().c_str() );
 
         numReceived++;
 



Mime
View raw message