diff options
author | Max Kellermann <max@duempel.org> | 2015-07-22 10:20:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-07-22 10:26:18 +0200 |
commit | 83752e93490ea3a7d64480d15d36cf47fae2b7bf (patch) | |
tree | afca70d63a738e1cfa4c7dd1f866788e20fdf6ec /src/output | |
parent | 8fdfe85b5f6c070c02578bb7b58e01aa01024c2f (diff) | |
download | mpd-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.cxx | 2 |
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"; |