aboutsummaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-07-22 10:20:57 +0200
committerMax Kellermann <max@duempel.org>2015-07-22 10:26:18 +0200
commit83752e93490ea3a7d64480d15d36cf47fae2b7bf (patch)
treeafca70d63a738e1cfa4c7dd1f866788e20fdf6ec /src/net
parent8fdfe85b5f6c070c02578bb7b58e01aa01024c2f (diff)
downloadmpd-83752e93490ea3a7d64480d15d36cf47fae2b7bf.tar.gz
mpd-83752e93490ea3a7d64480d15d36cf47fae2b7bf.tar.xz
mpd-83752e93490ea3a7d64480d15d36cf47fae2b7bf.zip
net/ToString: rename sockaddr_to_string() to ToString()
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