diff options
Diffstat (limited to 'src/poll.c')
-rw-r--r-- | src/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ void fastd_poll_handle(void) { #else void fastd_poll_init(void) { - VECTOR_ALLOC(ctx.pollfds, 2 + ctx.n_socks); + VECTOR_RESIZE(ctx.pollfds, 2 + ctx.n_socks); VECTOR_INDEX(ctx.pollfds, 0) = (struct pollfd) { .fd = -1, |