net/ToString: rename sockaddr_to_string() to ToString()

This commit is contained in:
Max Kellermann
2015-07-22 10:20:57 +02:00
parent 8fdfe85b5f
commit 83752e9349
6 changed files with 6 additions and 6 deletions

View File

@@ -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";