summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2011-05-26 20:38:52 +0000
committerAndrew Stitcher <astitcher@apache.org>2011-05-26 20:38:52 +0000
commit7bb094f36079b5b34f635d51f850d3bca086b5f8 (patch)
treef22dc8abd292df7e2888cba5f4a26c447c0f19b1 /cpp/src/qpid/sys/windows
parent6ead2fd59fedf1967ee133fde0f2e36dcda2fcd4 (diff)
downloadqpid-python-7bb094f36079b5b34f635d51f850d3bca086b5f8.tar.gz
QPID-3282: Potential bug in circular connection detection:
- make sure that we compare numeric addresses of both local and remote ends of the connection (previously the remote end could be an unresolved hostname) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows')
-rw-r--r--cpp/src/qpid/sys/windows/SocketAddress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/windows/SocketAddress.cpp b/cpp/src/qpid/sys/windows/SocketAddress.cpp
index 5efdad0183..ac43cd2d23 100644
--- a/cpp/src/qpid/sys/windows/SocketAddress.cpp
+++ b/cpp/src/qpid/sys/windows/SocketAddress.cpp
@@ -63,7 +63,7 @@ SocketAddress::~SocketAddress()
::freeaddrinfo(addrInfo);
}
-std::string SocketAddress::asString() const
+std::string SocketAddress::asString(bool) const
{
return host + ":" + port;
}