diff --git a/include/shared_fd.hpp b/include/shared_fd.hpp index c1067c1..11dc624 100644 --- a/include/shared_fd.hpp +++ b/include/shared_fd.hpp @@ -147,7 +147,7 @@ namespace gp{ return ret; } - static std::pair unix_socketpair(const net_socket_protocol& proto, const socket_opt_flags flags) { + static std::pair unix_socket_pair(const net_socket_protocol& proto, const socket_opt_flags flags) { std::pair ret; int fds[2]; auto result = ::socketpair((int)AF_UNIX, (int)proto, (int)flags, fds);