mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 19:27:00 +00:00
[FUSION_WINETEST] - Fix a warning. Already applied upstream.
[WS2_32_WINETEST] - Fix an ok(). Already applied upstream. svn path=/trunk/; revision=56746
This commit is contained in:
parent
817ab61c52
commit
8479f39975
2 changed files with 3 additions and 3 deletions
|
@ -412,7 +412,7 @@ static struct _tagASSEMBLY
|
||||||
5, /* MinorRuntimeVersion */
|
5, /* MinorRuntimeVersion */
|
||||||
{ 0x2188, 0x1B4 }, /* MetaData */
|
{ 0x2188, 0x1B4 }, /* MetaData */
|
||||||
COMIMAGE_FLAGS_ILONLY | COMIMAGE_FLAGS_STRONGNAMESIGNED, /* Flags */
|
COMIMAGE_FLAGS_ILONLY | COMIMAGE_FLAGS_STRONGNAMESIGNED, /* Flags */
|
||||||
0, /* EntryPointToken */
|
{ 0 }, /* EntryPointToken */
|
||||||
{ 0x20D0, 0xB8 }, /* Resources */
|
{ 0x20D0, 0xB8 }, /* Resources */
|
||||||
{ 0x2050, 0x80 }, /* StrongNameSignature */
|
{ 0x2050, 0x80 }, /* StrongNameSignature */
|
||||||
{ 0 }, /* CodeManagerTable */
|
{ 0 }, /* CodeManagerTable */
|
||||||
|
|
|
@ -1030,14 +1030,14 @@ static void test_set_getsockopt(void)
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
err = setsockopt(s, 0xffffffff, SO_RCVTIMEO, (char *) &timeout, size);
|
err = setsockopt(s, 0xffffffff, SO_RCVTIMEO, (char *) &timeout, size);
|
||||||
ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
|
ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
|
||||||
"got %d with %d (expected SOCKET_ERROR with WSAEINVAL\n",
|
"got %d with %d (expected SOCKET_ERROR with WSAEINVAL)\n",
|
||||||
err, WSAGetLastError());
|
err, WSAGetLastError());
|
||||||
|
|
||||||
timeout = SOCKTIMEOUT1;
|
timeout = SOCKTIMEOUT1;
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
err = setsockopt(s, 0x00008000, SO_RCVTIMEO, (char *) &timeout, size);
|
err = setsockopt(s, 0x00008000, SO_RCVTIMEO, (char *) &timeout, size);
|
||||||
ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
|
ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
|
||||||
"got %d with %d (expected SOCKET_ERROR with WSAEINVAL\n",
|
"got %d with %d (expected SOCKET_ERROR with WSAEINVAL)\n",
|
||||||
err, WSAGetLastError());
|
err, WSAGetLastError());
|
||||||
|
|
||||||
closesocket(s);
|
closesocket(s);
|
||||||
|
|
Loading…
Reference in a new issue