mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-14 06:49:35 -04:00
evutil_accept4() should take ev_socklen_t
This commit is contained in:
parent
d7d9f75528
commit
ca47fa0b90
2
evutil.c
2
evutil.c
@ -2423,7 +2423,7 @@ evutil_socket(int domain, int type, int protocol)
|
||||
*/
|
||||
evutil_socket_t
|
||||
evutil_accept4(evutil_socket_t sockfd, struct sockaddr *addr,
|
||||
socklen_t *addrlen, int flags)
|
||||
ev_socklen_t *addrlen, int flags)
|
||||
{
|
||||
evutil_socket_t result;
|
||||
#if defined(_EVENT_HAVE_ACCEPT4) && defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK)
|
||||
|
@ -394,7 +394,7 @@ HANDLE evutil_load_windows_system_library(const TCHAR *library_name);
|
||||
|
||||
evutil_socket_t evutil_socket(int domain, int type, int protocol);
|
||||
evutil_socket_t evutil_accept4(evutil_socket_t sockfd, struct sockaddr *addr,
|
||||
socklen_t *addrlen, int flags);
|
||||
ev_socklen_t *addrlen, int flags);
|
||||
int evutil_make_internal_pipe(evutil_socket_t fd[2]);
|
||||
evutil_socket_t evutil_eventfd(unsigned initval, int flags);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user