summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows/SocketAddress.cpp
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
commitedab69a1a24d284218e47605d9a63dc3250e0b6e (patch)
treef22dc8abd292df7e2888cba5f4a26c447c0f19b1 /cpp/src/qpid/sys/windows/SocketAddress.cpp
parenta2e5523f68054f4361e6a1b2fdd8eceb300458c1 (diff)
downloadqpid-python-edab69a1a24d284218e47605d9a63dc3250e0b6e.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/SocketAddress.cpp')
-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;
}