ws2_32/tests: Actually test a return value (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-03-04 10:14:40 +01:00 committed by Alexandre Julliard
parent 4c36ef1d4e
commit bbe2c58261
1 changed files with 1 additions and 0 deletions

View File

@ -4374,6 +4374,7 @@ static void test_ioctlsocket(void)
ok(ret != SOCKET_ERROR, "setsockopt failed unexpectedly\n");
arg = 0;
ret = ioctlsocket(sock, SIOCATMARK, &arg);
ok(ret != SOCKET_ERROR, "ioctlsocket failed unexpectedly\n");
ok(arg, "SIOCATMARK expected a non-zero value\n");
ret = WSAIoctl(sock, SIO_KEEPALIVE_VALS, &arg, 0, NULL, 0, &arg, NULL, NULL);