summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/RetractClient.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-05-31 15:14:54 +0000
committerAlan Conway <aconway@apache.org>2010-05-31 15:14:54 +0000
commit68d06cb9f5f10f3679ae1fc3c7bde86881862c38 (patch)
treebc2ef67ae97da445d1718c505332b0f47afd22a7 /cpp/src/qpid/cluster/RetractClient.cpp
parent7f957dec3739f454e85c4d7df90c092ff893d487 (diff)
downloadqpid-python-68d06cb9f5f10f3679ae1fc3c7bde86881862c38.tar.gz
Fixed assertion error in cluster_tests.py test_failover.
Added missing call to expandd in cluster/RetractClient.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949767 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/RetractClient.cpp')
-rw-r--r--cpp/src/qpid/cluster/RetractClient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/RetractClient.cpp b/cpp/src/qpid/cluster/RetractClient.cpp
index 7d9f52fc39..a8c4b0d543 100644
--- a/cpp/src/qpid/cluster/RetractClient.cpp
+++ b/cpp/src/qpid/cluster/RetractClient.cpp
@@ -52,6 +52,7 @@ void RetractClient::run() {
c.open(url, connectionSettings);
AutoClose ac(c);
AMQFrame retract((ClusterConnectionRetractOfferBody()));
+ client::ConnectionAccess::getImpl(c)->expand(retract.encodedSize(), false);
client::ConnectionAccess::getImpl(c)->handle(retract);
} catch (const std::exception& e) {
QPID_LOG(error, " while retracting retract to " << url << ": " << e.what());