projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WS2_32_APITESTS] Set the size of addr when calling getsockname ROSTESTS-278
[reactos.git]
/
rostests
/
apitests
/
ws2_32
/
bind.c
diff --git
a/rostests/apitests/ws2_32/bind.c
b/rostests/apitests/ws2_32/bind.c
index
98d5b9d
..
22ee405
100644
(file)
--- a/
rostests/apitests/ws2_32/bind.c
+++ b/
rostests/apitests/ws2_32/bind.c
@@
-77,6
+77,7
@@
TestBind(IN_ADDR Address)
else
{
ok_dec(WSAGetLastError(), 0);
+ AddrSize = sizeof(Addr);
Error = getsockname(Socket, (struct sockaddr *) &Addr, &AddrSize);
ok(Error == 0, "Error getsockname for test %d, Error %d\n", i, Error);
ok_dec(WSAGetLastError(), 0);