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 /test/run_resolver.cxx | |
parent | 8fdfe85b5f6c070c02578bb7b58e01aa01024c2f (diff) |
net/ToString: rename sockaddr_to_string() to ToString()
Diffstat (limited to 'test/run_resolver.cxx')
-rw-r--r-- | test/run_resolver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_resolver.cxx b/test/run_resolver.cxx index a66dd6778..1fe458cfc 100644 --- a/test/run_resolver.cxx +++ b/test/run_resolver.cxx @@ -52,7 +52,7 @@ int main(int argc, char **argv) } for (const struct addrinfo *i = ai; i != NULL; i = i->ai_next) { - const auto s = sockaddr_to_string({i->ai_addr, i->ai_addrlen}); + const auto s = ToString({i->ai_addr, i->ai_addrlen}); printf("%s\n", s.c_str()); } |