evutil_accept4() should take ev_socklen_t

This commit is contained in:
Nick Mathewson 2012-02-28 12:53:46 -05:00
parent d7d9f75528
commit ca47fa0b90
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);