summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/socket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx
index 0984acb86aae..f708c4911797 100644
--- a/sal/osl/unx/socket.cxx
+++ b/sal/osl/unx/socket.cxx
@@ -582,7 +582,7 @@ struct oslAddrInfo
freeaddrinfo(pAddrInfoList);
}
- const char* getHostName()
+ const char* getHostName() const
{
assert(pAddrInfoList);
return pAddrInfoList->ai_canonname;