Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix ctypes bug in version check for poll timeout.

  • Loading branch information...
commit 8119b8c89bd68931d90201c92e6c730dbd4fd194 1 parent 8dee644
@kahseng kahseng authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  zmq/_zmq.py
View
2  zmq/_zmq.py
@@ -517,7 +517,7 @@ def _poll(sockets, timeout=-1):
timeout : int
The number of milliseconds to poll for. Negative means no timeout.
"""
- if major < 3:
+ if major < c_int(3):
# timeout is us in 2.x, ms in 3.x
# expected input is ms (matches 3.x)
timeout = 1000 * timeout
Please sign in to comment.
Something went wrong with that request. Please try again.