summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_authentication_soak.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-07-27 18:52:50 +0000
committerAlan Conway <aconway@apache.org>2010-07-27 18:52:50 +0000
commit7acde516afeb93e592197fbd6fe2ad78684fd0f1 (patch)
tree96a114a6162aa56bd0f287aa7c555b4ddc0d36f3 /qpid/cpp/src/tests/cluster_authentication_soak.cpp
parent42a53a8bf749bec58c1a89d91eae1037d1fe3bf6 (diff)
downloadqpid-python-7acde516afeb93e592197fbd6fe2ad78684fd0f1.tar.gz
Fix bug in test code: invalid use of c_str()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_authentication_soak.cpp')
-rw-r--r--qpid/cpp/src/tests/cluster_authentication_soak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/cluster_authentication_soak.cpp b/qpid/cpp/src/tests/cluster_authentication_soak.cpp
index 31714a19a6..b8e8a22693 100644
--- a/qpid/cpp/src/tests/cluster_authentication_soak.cpp
+++ b/qpid/cpp/src/tests/cluster_authentication_soak.cpp
@@ -93,7 +93,7 @@ startBroker ( brokerVector & brokers , int brokerNumber, string const & clusterN
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");