ws2_32: Avoid using bitwise operations on BOOLs (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-03-10 10:20:02 +01:00 committed by Alexandre Julliard
parent ae309c2d00
commit 58afc397cb
1 changed files with 1 additions and 1 deletions

View File

@ -3938,7 +3938,7 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID
* because BSD returns TRUE if it's in the OOB mark
* while Windows returns TRUE if there are NO OOB bytes.
*/
(*(WS_u_long *) out_buff) = oob | !atmark;
(*(WS_u_long *) out_buff) = oob || !atmark;
}
release_sock_fd( s, fd );