summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/Url.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-07-30 06:29:16 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-07-30 06:29:16 +0000
commitf1f80e7b3b1e17e663113382219d992680461063 (patch)
tree793644f4345437ed0c60ace0c5b7fdf07504e661 /cpp/src/qpid/Url.cpp
parentab27cb344e9d2e1ea18c1c89cda65a02a7513e4b (diff)
downloadqpid-python-f1f80e7b3b1e17e663113382219d992680461063.tar.gz
Related to QPID-1198: Moved posix platform specific "strerror" code to
platform specific directory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680920 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/Url.cpp')
-rw-r--r--cpp/src/qpid/Url.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/Url.cpp b/cpp/src/qpid/Url.cpp
index 20e3a55f8d..95d6a34136 100644
--- a/cpp/src/qpid/Url.cpp
+++ b/cpp/src/qpid/Url.cpp
@@ -47,7 +47,7 @@ std::istream& operator>>(std::istream&, const TcpAddress&);
Url Url::getHostNameUrl(uint16_t port) {
char name[HOST_NAME_MAX];
if (::gethostname(name, sizeof(name)) != 0)
- throw InvalidUrl(QPID_MSG("Cannot get host name: " << strError(errno)));
+ throw InvalidUrl(QPID_MSG("Cannot get host name: " << qpid::sys::strError(errno)));
return Url(TcpAddress(name, port));
}