diff options
author | root <root> | 2011-01-17 12:11:11 +0000 |
---|---|---|
committer | root <root> | 2011-01-17 12:11:11 +0000 |
commit | 2433d34aa31bda69b3b28888ac035e1dc08663e3 (patch) | |
tree | 89dce4e81f7e5579b0d6c4c779db367f8219a8f4 /ev_poll.c | |
parent | f00667682ef34d61b3f0f77e5bc3983fc40c55ef (diff) |
*** empty log message ***
Diffstat (limited to 'ev_poll.c')
-rw-r--r-- | ev_poll.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |