[MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549

svn path=/trunk/; revision=72910
This commit is contained in:
Amine Khaldi 2016-10-05 09:39:12 +00:00
parent cd930de18d
commit 5290f6cf12

View file

@ -1413,7 +1413,7 @@ WSPAccept(SOCKET Handle,
&ListenReceiveData->Address.Address[0].AddressType,
sizeof(*RemoteAddress));
if( SocketAddressLength )
*SocketAddressLength = ListenReceiveData->Address.Address[0].AddressLength;
*SocketAddressLength = sizeof(*RemoteAddress);
}
NtClose( SockEvent );