fix revents in unpack-pollfds
This commit is contained in:
1 parent
16af3984c9
commit
b4ba3eea21
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user