ws2_32/tests: Actually test a return value (PVS-Studio).
This commit is contained in:
parent
4c36ef1d4e
commit
bbe2c58261
|
@ -4374,6 +4374,7 @@ static void test_ioctlsocket(void)
|
||||||
ok(ret != SOCKET_ERROR, "setsockopt failed unexpectedly\n");
|
ok(ret != SOCKET_ERROR, "setsockopt failed unexpectedly\n");
|
||||||
arg = 0;
|
arg = 0;
|
||||||
ret = ioctlsocket(sock, SIOCATMARK, &arg);
|
ret = ioctlsocket(sock, SIOCATMARK, &arg);
|
||||||
|
ok(ret != SOCKET_ERROR, "ioctlsocket failed unexpectedly\n");
|
||||||
ok(arg, "SIOCATMARK expected a non-zero value\n");
|
ok(arg, "SIOCATMARK expected a non-zero value\n");
|
||||||
|
|
||||||
ret = WSAIoctl(sock, SIO_KEEPALIVE_VALS, &arg, 0, NULL, 0, &arg, NULL, NULL);
|
ret = WSAIoctl(sock, SIO_KEEPALIVE_VALS, &arg, 0, NULL, 0, &arg, NULL, NULL);
|
||||||
|
|
Loading…
Reference in New Issue