From 83752e93490ea3a7d64480d15d36cf47fae2b7bf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jul 2015 10:20:57 +0200 Subject: net/ToString: rename sockaddr_to_string() to ToString() --- src/output/plugins/httpd/HttpdOutputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output/plugins') 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"; -- cgit v1.2.3