summaryrefslogtreecommitdiff
path: root/ev_poll.c
diff options
context:
space:
mode:
authorroot <root>2011-01-17 12:11:11 +0000
committerroot <root>2011-01-17 12:11:11 +0000
commit2433d34aa31bda69b3b28888ac035e1dc08663e3 (patch)
tree89dce4e81f7e5579b0d6c4c779db367f8219a8f4 /ev_poll.c
parentf00667682ef34d61b3f0f77e5bc3983fc40c55ef (diff)
*** empty log message ***
Diffstat (limited to 'ev_poll.c')
-rw-r--r--ev_poll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev_poll.c b/ev_poll.c
index 81e4b53..e15504b 100644
--- a/ev_poll.c
+++ b/ev_poll.c
@@ -1,7 +1,7 @@
/*
* libev poll fd activity backend
*
- * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann <libev@schmorp.de>
+ * Copyright (c) 2007,2008,2009,2010,2011 Marc Alexander Lehmann <libev@schmorp.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modifica-
@@ -92,7 +92,7 @@ poll_poll (EV_P_ ev_tstamp timeout)
int res;
EV_RELEASE_CB;
- res = poll (polls, pollcnt, (int)ceil (timeout * 1000.));
+ res = poll (polls, pollcnt, ev_timeout_to_ms (timeout));
EV_ACQUIRE_CB;
if (expect_false (res < 0))