diff options
author | root <root> | 2007-12-05 13:54:36 +0000 |
---|---|---|
committer | root <root> | 2007-12-05 13:54:36 +0000 |
commit | 8553fca83a98588576f88cd1b1942ae6d3d6ab43 (patch) | |
tree | 335c64f6bf14e5018fa77234e83e35212f0c2bda /ev_port.c | |
parent | 614930116ff2c76f9954eee0cf4c5194ee4204e0 (diff) |
*** empty log message ***rel-1_6
Diffstat (limited to 'ev_port.c')
-rw-r--r-- | ev_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ port_poll (EV_P_ ev_tstamp timeout) if (expect_false (nget == port_eventmax)) { ev_free (port_events); - port_eventmax = array_roundsize (port_event_t, port_eventmax << 1); + port_eventmax = array_nextsize (sizeof (port_event_t), port_eventmax, port_eventmax + 1); port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax); } } |