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

The former is shorter and ends up with a "random" bool anyway.
pull/826/head
Vasil Dimov 4 years ago
parent 29ae1c13a5
commit 549c82ad3a
No known key found for this signature in database
GPG Key ID: 54DF06F64B55CBBF

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

Loading…
Cancel
Save