mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-22 13:59:34 +02:00
Fix copy/paste error (#2070)
This commit is contained in:
parent
61f9e71ee2
commit
bbece557c9
@ -391,7 +391,7 @@ zmq::fd_t zmq::ipc_listener_t::accept ()
|
||||
// resources is considered valid and treated by ignoring the connection.
|
||||
zmq_assert (s != retired_fd);
|
||||
#if defined ZMQ_HAVE_SOCK_CLOEXEC
|
||||
fd_t sock = ::accept4 (s, (struct sockaddr *) &ss, &ss_len, SOCK_CLOEXEC);
|
||||
fd_t sock = ::accept4 (s, NULL, NULL, SOCK_CLOEXEC);
|
||||
#else
|
||||
fd_t sock = ::accept (s, NULL, NULL);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user