aboutsummaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ToString.cxx2
-rw-r--r--src/net/ToString.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ToString.cxx b/src/net/ToString.cxx
index 860820003..579e2ddcb 100644
--- a/src/net/ToString.cxx
+++ b/src/net/ToString.cxx
@@ -102,7 +102,7 @@ UnmapV4(SocketAddress src, struct sockaddr_in &buffer)
#endif
std::string
-sockaddr_to_string(SocketAddress address)
+ToString(SocketAddress address)
{
#ifdef HAVE_UN
if (address.GetFamily() == AF_UNIX)
diff --git a/src/net/ToString.hxx b/src/net/ToString.hxx
index 8027e5267..bc41a8525 100644
--- a/src/net/ToString.hxx
+++ b/src/net/ToString.hxx
@@ -33,6 +33,6 @@ class SocketAddress;
*/
gcc_pure
std::string
-sockaddr_to_string(SocketAddress address);
+ToString(SocketAddress address);
#endif