mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 12:08:55 +00:00
Pass NameLength back to caller
svn path=/trunk/; revision=13919
This commit is contained in:
parent
f68df768b9
commit
7dbc98c96c
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue