… | |
… | |
130 | |
130 | |
131 | fd_change (EV_A_ fd, EV__IOFDSET); |
131 | fd_change (EV_A_ fd, EV__IOFDSET); |
132 | } |
132 | } |
133 | } |
133 | } |
134 | |
134 | |
135 | if (expect_false (nget == port_eventmax)) |
135 | if (ecb_expect_false (nget == port_eventmax)) |
136 | { |
136 | { |
137 | ev_free (port_events); |
137 | ev_free (port_events); |
138 | port_eventmax = array_nextsize (sizeof (port_event_t), port_eventmax, port_eventmax + 1); |
138 | port_eventmax = array_nextsize (sizeof (port_event_t), port_eventmax, port_eventmax + 1); |
139 | port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax); |
139 | port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax); |
140 | } |
140 | } |