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
|
else
|
||||||
{
|
{
|
||||||
*(BOOL *)optval = (lingval.l_onoff) ? FALSE : TRUE;
|
*(BOOL *)optval = !lingval.l_onoff;
|
||||||
*optlen = sizeof(BOOL);
|
*optlen = sizeof(BOOL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue