Commit e0842daf authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed small bug in WSOCK32_accept

parent a048fdd6
......@@ -748,8 +748,8 @@ SOCKET WINAPI WSOCK32_accept(SOCKET s, struct sockaddr *addr,
sock_server_call( REQ_ACCEPT_SOCKET );
if( req->handle >= 0 )
{
unsigned omask = _get_sock_mask( s );
SOCKET as = req->handle;
unsigned omask = _get_sock_mask( s );
int fd = _get_sock_fd( as );
if( getpeername(fd, addr, addrlen32) != -1 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment