fuzz: use ConsumeBool() instead of !ConsumeBool()

The former is shorter and ends up with a "random" bool anyway.
This commit is contained in:
Vasil Dimov 2021-04-07 11:40:59 +02:00
parent 29ae1c13a5
commit 549c82ad3a
No known key found for this signature in database
GPG key ID: 54DF06F64B55CBBF

View file

@ -178,7 +178,7 @@ bool FuzzedSock::Wait(std::chrono::milliseconds timeout, Event requested, Event*
EINTR,
EINVAL,
};
if (!m_fuzzed_data_provider.ConsumeBool()) {
if (m_fuzzed_data_provider.ConsumeBool()) {
SetFuzzedErrNo(m_fuzzed_data_provider, wait_errnos);
return false;
}