diff options
Diffstat (limited to 'cpp/src/qpid/Url.cpp')
| -rw-r--r-- | cpp/src/qpid/Url.cpp | 2 |
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)); } |
