ws2_32: Avoid a FALSE:TRUE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-14 23:16:41 +02:00 committed by Alexandre Julliard
parent c0cfc9a87a
commit 6132ed66a6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }