diff options
author | Alan Conway <aconway@apache.org> | 2008-10-10 17:44:50 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-10-10 17:44:50 +0000 |
commit | 056c17376003dbbf88de7444cd630de05e7a7678 (patch) | |
tree | 4b8b945b6cc4796f5efe742936c77eeba373d2cd /cpp/src/qpid/client/Connection.cpp | |
parent | 634d62c308b4896047810cf4a7e87f8238190891 (diff) | |
download | qpid-python-056c17376003dbbf88de7444cd630de05e7a7678.tar.gz |
Failover client and example fixes & tidy up.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connection.cpp')
-rw-r--r-- | cpp/src/qpid/client/Connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp index 3ee70c222a..e393d135f6 100644 --- a/cpp/src/qpid/client/Connection.cpp +++ b/cpp/src/qpid/client/Connection.cpp @@ -139,7 +139,7 @@ void Connection::close() { } std::vector<Url> Connection::getKnownBrokers() { - return isOpen() ? impl->getKnownBrokers() : std::vector<Url>(); + return impl ? impl->getKnownBrokers() : std::vector<Url>(); } }} // namespace qpid::client |