mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +00:00
parent
76b0f43bc1
commit
f90f8eaf4e
@ -337,7 +337,7 @@ bool CTapDriver::HasPendingPackets() const
|
||||
fds.revents = 0;
|
||||
poll(&fds, 1, 0);
|
||||
spdlog::trace(to_string(fds.revents) + " revents");
|
||||
return !(fds.revents & POLLIN);
|
||||
return fds.revents & POLLIN;
|
||||
}
|
||||
|
||||
// See https://stackoverflow.com/questions/21001659/crc32-algorithm-implementation-in-c-without-a-look-up-table-and-with-a-public-li
|
||||
|
Loading…
Reference in New Issue
Block a user