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/net/ToString.cxx | 2 +- src/net/ToString.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ToString.cxx b/src/net/ToString.cxx index 860820003..579e2ddcb 100644 --- a/src/net/ToString.cxx +++ b/src/net/ToString.cxx @@ -102,7 +102,7 @@ UnmapV4(SocketAddress src, struct sockaddr_in &buffer) #endif std::string -sockaddr_to_string(SocketAddress address) +ToString(SocketAddress address) { #ifdef HAVE_UN if (address.GetFamily() == AF_UNIX) diff --git a/src/net/ToString.hxx b/src/net/ToString.hxx index 8027e5267..bc41a8525 100644 --- a/src/net/ToString.hxx +++ b/src/net/ToString.hxx @@ -33,6 +33,6 @@ class SocketAddress; */ gcc_pure std::string -sockaddr_to_string(SocketAddress address); +ToString(SocketAddress address); #endif -- cgit v1.2.3