Changed sizeof(RemoteAddress) to sizeof(*RemoteAddress).  Now address
returns work in accept.
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-11 23:56:02 UTC (rev 13942)
+++ trunk/reactos/lib/msafd/misc/dllmain.c	2005-03-12 00:02:24 UTC (rev 13943)
@@ -1,3 +1,4 @@
+
 /*
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS Ancillary Function Driver DLL
@@ -861,12 +862,12 @@
 
 		/* Set up Address in SOCKADDR Format */
 		RtlCopyMemory (RemoteAddress, 
-						&ListenReceiveData->Address.Address[0].AddressType, 
-						sizeof(RemoteAddress));
+                               &ListenReceiveData->Address.Address[0].AddressType, 
+                               sizeof(*RemoteAddress));
 
 		/* Build Caller ID */
 		CallerID.buf = (PVOID)RemoteAddress;
-		CallerID.len = sizeof(RemoteAddress);
+		CallerID.len = sizeof(*RemoteAddress);
 
 		/* Build Caller Data */
 		CallerData.buf = PendingData;
@@ -985,7 +986,7 @@
         if( SocketAddress ) {
             RtlCopyMemory (SocketAddress, 
                            &ListenReceiveData->Address.Address[0].AddressType, 
-                           sizeof(RemoteAddress));
+                           sizeof(*RemoteAddress));
             if( *SocketAddressLength )
                 *SocketAddressLength = 
                     ListenReceiveData->Address.Address[0].AddressLength;