summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Link.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-01-20 15:21:37 +0000
committerAlan Conway <aconway@apache.org>2012-01-20 15:21:37 +0000
commita99d03a796d8b98f93d182d1440467d33cdc1e80 (patch)
tree186d143089d17d57d8c63079978c6d578285707c /cpp/src/qpid/broker/Link.cpp
parent106ce96b520a8aa70042b7744abe76677abf9d5b (diff)
downloadqpid-python-a99d03a796d8b98f93d182d1440467d33cdc1e80.tar.gz
Revert "QPID-3352: Fix test for failed session to avoid confusion with as yet uninitialised session"
This reverts commit r1233083. It caused a test failure run_federation_tests: federation.FederationTests.test_pull_from_queue_recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233949 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Link.cpp')
-rw-r--r--cpp/src/qpid/broker/Link.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Link.cpp b/cpp/src/qpid/broker/Link.cpp
index a27cb7c5ac..0bc7d8f47b 100644
--- a/cpp/src/qpid/broker/Link.cpp
+++ b/cpp/src/qpid/broker/Link.cpp
@@ -251,7 +251,7 @@ void Link::ioThreadProcessing()
// check for bridge session errors and recover
if (!active.empty()) {
Bridges::iterator removed = std::remove_if(
- active.begin(), active.end(), boost::bind(&Bridge::hasSessionFailed, _1));
+ active.begin(), active.end(), !boost::bind(&Bridge::isSessionReady, _1));
for (Bridges::iterator i = removed; i != active.end(); ++i) {
Bridge::shared_ptr bridge = *i;
bridge->closed();