mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
[WS2_32_APITESTS] Set the size of addr when calling getsockname ROSTESTS-278
svn path=/trunk/; revision=74655
This commit is contained in:
parent
8e52193434
commit
27fe85a2cb
|
@ -77,6 +77,7 @@ TestBind(IN_ADDR Address)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ok_dec(WSAGetLastError(), 0);
|
ok_dec(WSAGetLastError(), 0);
|
||||||
|
AddrSize = sizeof(Addr);
|
||||||
Error = getsockname(Socket, (struct sockaddr *) &Addr, &AddrSize);
|
Error = getsockname(Socket, (struct sockaddr *) &Addr, &AddrSize);
|
||||||
ok(Error == 0, "Error getsockname for test %d, Error %d\n", i, Error);
|
ok(Error == 0, "Error getsockname for test %d, Error %d\n", i, Error);
|
||||||
ok_dec(WSAGetLastError(), 0);
|
ok_dec(WSAGetLastError(), 0);
|
||||||
|
|
Loading…
Reference in a new issue