Browse Source

renamed a function

devel
Ludovic 'Archivist' Lagouardette 5 years ago
parent
commit
e6cabf9e16
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/shared_fd.hpp

+ 1
- 1
include/shared_fd.hpp View File

@ -147,7 +147,7 @@ namespace gp{
return ret; return ret;
} }
static std::pair<shared_fd,shared_fd> unix_socketpair(const net_socket_protocol& proto, const socket_opt_flags flags) {
static std::pair<shared_fd,shared_fd> unix_socket_pair(const net_socket_protocol& proto, const socket_opt_flags flags) {
std::pair<gp::shared_fd, gp::shared_fd> ret; std::pair<gp::shared_fd, gp::shared_fd> ret;
int fds[2]; int fds[2];
auto result = ::socketpair((int)AF_UNIX, (int)proto, (int)flags, fds); auto result = ::socketpair((int)AF_UNIX, (int)proto, (int)flags, fds);

Loading…
Cancel
Save