Commit 6132ed66 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ws2_32: Avoid a FALSE:TRUE conditional expression.

parent c0cfc9a8
...@@ -2544,7 +2544,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level, ...@@ -2544,7 +2544,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
} }
else else
{ {
*(BOOL *)optval = (lingval.l_onoff) ? FALSE : TRUE; *(BOOL *)optval = !lingval.l_onoff;
*optlen = sizeof(BOOL); *optlen = sizeof(BOOL);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment