mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:22:22 +00:00
[MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72910
This commit is contained in:
parent
cd930de18d
commit
5290f6cf12
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue