projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd930de
)
[MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549
author
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 5 Oct 2016 09:39:12 +0000
(09:39 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 5 Oct 2016 09:39:12 +0000
(09:39 +0000)
svn path=/trunk/; revision=72910
reactos/dll/win32/msafd/misc/dllmain.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/msafd/misc/dllmain.c
b/reactos/dll/win32/msafd/misc/dllmain.c
index
0e9177a
..
5f0c2e5
100644
(file)
--- a/
reactos/dll/win32/msafd/misc/dllmain.c
+++ b/
reactos/dll/win32/msafd/misc/dllmain.c
@@
-1413,7
+1413,7
@@
WSPAccept(SOCKET Handle,
&ListenReceiveData->Address.Address[0].AddressType,
sizeof(*RemoteAddress));
if( SocketAddressLength )
- *SocketAddressLength =
ListenReceiveData->Address.Address[0].AddressLength
;
+ *SocketAddressLength =
sizeof(*RemoteAddress)
;
}
NtClose( SockEvent );