fix revents in unpack-pollfds
This commit is contained in:
parent
16af3984c9
commit
b4ba3eea21
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@
|
|||
(collect [_ v (ipairs pollfds)]
|
||||
(let [fd (band (rshift v 32) 0xffffffff)
|
||||
revent (band v 0xffff)]
|
||||
(values fd revent))))
|
||||
(values fd (if (> revent 0) revent nil)))))
|
||||
|
||||
(fn parse-terms [str]
|
||||
(print :terms str)
|
||||
|
|
Loading…
Reference in a new issue