summaryrefslogtreecommitdiff
path: root/ev_poll.c
diff options
context:
space:
mode:
authorroot <root>2011-06-04 05:25:02 +0000
committerroot <root>2011-06-04 05:25:02 +0000
commit436d5d174bfb936c4852a63eb03e0a3185f1502a (patch)
treec0f5297470af0fbe39b75963bad813f1f2a4fc3b /ev_poll.c
parenta9e3edbbaef8f747345cbaabb111219272ed1a53 (diff)
*** empty log message ***
Diffstat (limited to 'ev_poll.c')
-rw-r--r--ev_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_poll.c b/ev_poll.c
index 7c7ece1..5f62bba 100644
--- a/ev_poll.c
+++ b/ev_poll.c
@@ -92,7 +92,7 @@ poll_poll (EV_P_ ev_tstamp timeout)
int res;
EV_RELEASE_CB;
- res = poll (polls, pollcnt, ev_timeout_to_ms (timeout));
+ res = poll (polls, pollcnt, timeout * 1e3);
EV_ACQUIRE_CB;
if (expect_false (res < 0))