Skip to content

Commit

Permalink
token is in portev_user
Browse files Browse the repository at this point in the history
  • Loading branch information
psumbera committed Nov 19, 2019
1 parent f6284af commit 74ca676
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sys/unix/selector/evport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ pub mod event {
use crate::Token;

pub fn token(event: &Event) -> Token {
// Token(event.portev_object as usize)
Token(event.portev_events as usize)
Token(event.portev_user as usize)
}

pub fn is_readable(event: &Event) -> bool {
Expand Down

0 comments on commit 74ca676

Please sign in to comment.