From 9bc5c5197e6cedc479a9c6362bba46b729e2acf5 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 20 May 2018 13:40:14 -0600 Subject: [PATCH] Fix mistaken use of flags --- vesad/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vesad/src/main.rs b/vesad/src/main.rs index ea11dd9006..37ef329902 100644 --- a/vesad/src/main.rs +++ b/vesad/src/main.rs @@ -92,7 +92,7 @@ fn main() { } for (handle_id, handle) in scheme.handles.iter() { - if handle.flags & EVENT_READ != 0 { + if handle.events & EVENT_READ != 0 { if let Some(count) = scheme.can_read(*handle_id) { let event_packet = Packet { id: 0,