aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientNew.cxx
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/client/ClientNew.cxx
parent8fdfe85b5f6c070c02578bb7b58e01aa01024c2f (diff)
downloadmpd-83752e93490ea3a7d64480d15d36cf47fae2b7bf.tar.gz
mpd-83752e93490ea3a7d64480d15d36cf47fae2b7bf.tar.xz
mpd-83752e93490ea3a7d64480d15d36cf47fae2b7bf.zip
net/ToString: rename sockaddr_to_string() to ToString()
Diffstat (limited to '')
-rw-r--r--src/client/ClientNew.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientNew.cxx b/src/client/ClientNew.cxx
index 8e5c9fc36..90c81f2c6 100644
--- a/src/client/ClientNew.cxx
+++ b/src/client/ClientNew.cxx
@@ -62,7 +62,7 @@ client_new(EventLoop &loop, Partition &partition,
int fd, SocketAddress address, int uid)
{
static unsigned int next_client_num;
- const auto remote = sockaddr_to_string(address);
+ const auto remote = ToString(address);
assert(fd >= 0);