diff options
| author | Alan Conway <aconway@apache.org> | 2012-01-18 22:08:22 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-01-18 22:08:22 +0000 |
| commit | bcd082b3fd874f74755bc67d193027769aecd1ef (patch) | |
| tree | 866aa58cb7e8dd6e91bb49366d6511d132ba8a5e /cpp/src/qpid/broker/Link.cpp | |
| parent | afe551a9ed415388816b86cf98394ef1f6613270 (diff) | |
| download | qpid-python-bcd082b3fd874f74755bc67d193027769aecd1ef.tar.gz | |
QPID-3352: Fix test for failed session to avoid confusion with as yet uninitialised session
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233083 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Link.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Link.cpp b/cpp/src/qpid/broker/Link.cpp index 8010bf43e7..7e1767fed7 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::isSessionReady, _1)); + active.begin(), active.end(), boost::bind(&Bridge::hasSessionFailed, _1)); for (Bridges::iterator i = removed; i != active.end(); ++i) { Bridge::shared_ptr bridge = *i; bridge->closed(); |
