Pass NameLength back to caller
Modified: trunk/reactos/lib/msafd/misc/dllmain.c
_____
Modified: trunk/reactos/lib/msafd/misc/dllmain.c
--- trunk/reactos/lib/msafd/misc/dllmain.c 2005-03-10 20:54:53 UTC
(rev 13918)
+++ trunk/reactos/lib/msafd/misc/dllmain.c 2005-03-10 22:59:28 UTC
(rev 13919)
@@ -1285,6 +1285,7 @@
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 {
Show replies by date