mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 06:00:45 +00:00
ws2_32: Avoid a FALSE:TRUE conditional expression.
This commit is contained in:
parent
c0cfc9a87a
commit
6132ed66a6
@ -2544,7 +2544,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
|
||||
}
|
||||
else
|
||||
{
|
||||
*(BOOL *)optval = (lingval.l_onoff) ? FALSE : TRUE;
|
||||
*(BOOL *)optval = !lingval.l_onoff;
|
||||
*optlen = sizeof(BOOL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user