mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Pass NameLength back to caller
svn path=/trunk/; revision=13919
This commit is contained in:
@@ -1285,6 +1285,7 @@ WSPGetSockName(
|
||||
RtlCopyMemory (Name->sa_data,
|
||||
SocketAddress->Address[0].Address,
|
||||
SocketAddress->Address[0].AddressLength);
|
||||
*NameLength = 2 + SocketAddress->Address[0].AddressLength;
|
||||
HeapFree(GlobalHeap, 0, TdiAddress);
|
||||
return 0;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user