mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:03:00 +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,
|
&ListenReceiveData->Address.Address[0].AddressType,
|
||||||
sizeof(*RemoteAddress));
|
sizeof(*RemoteAddress));
|
||||||
if( SocketAddressLength )
|
if( SocketAddressLength )
|
||||||
*SocketAddressLength = ListenReceiveData->Address.Address[0].AddressLength;
|
*SocketAddressLength = sizeof(*RemoteAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
NtClose( SockEvent );
|
NtClose( SockEvent );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue