qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r979803 - /qpid/trunk/qpid/cpp/src/tests/cluster_authentication_soak.cpp
Date Tue, 27 Jul 2010 18:52:50 GMT
Author: aconway
Date: Tue Jul 27 18:52:50 2010
New Revision: 979803

URL: http://svn.apache.org/viewvc?rev=979803&view=rev
Log:
Fix bug in test code: invalid use of c_str()

Modified:
    qpid/trunk/qpid/cpp/src/tests/cluster_authentication_soak.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/cluster_authentication_soak.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/cluster_authentication_soak.cpp?rev=979803&r1=979802&r2=979803&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/cluster_authentication_soak.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/cluster_authentication_soak.cpp Tue Jul 27 18:52:50 2010
@@ -93,7 +93,7 @@ startBroker ( brokerVector & brokers , i
     argv.push_back ("../qpidd");
     argv.push_back ("--no-module-dir");
     argv.push_back ("--load-module=../.libs/cluster.so");
-    argv.push_back (clusterArg.str().c_str());
+    argv.push_back (clusterArg.str());
     argv.push_back ("--cluster-username=zig");
     argv.push_back ("--cluster-password=zig");
     argv.push_back ("--cluster-mechanism=ANONYMOUS");



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message