aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
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/output
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/output')
-rw-r--r--src/output/plugins/httpd/HttpdOutputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/httpd/HttpdOutputPlugin.cxx b/src/output/plugins/httpd/HttpdOutputPlugin.cxx
index 3ed395e63..d13f646f3 100644
--- a/src/output/plugins/httpd/HttpdOutputPlugin.cxx
+++ b/src/output/plugins/httpd/HttpdOutputPlugin.cxx
@@ -209,7 +209,7 @@ HttpdOutput::OnAccept(int fd, SocketAddress address, gcc_unused int uid)
#ifdef HAVE_LIBWRAP
if (address.GetFamily() != AF_UNIX) {
- const auto hostaddr = sockaddr_to_string(address);
+ const auto hostaddr = ToString(address);
// TODO: shall we obtain the program name from argv[0]?
const char *progname = "mpd";