Another fix for the legacy poller
This commit is contained in:
parent
2c150b5399
commit
0484f7e995
2
common.c
2
common.c
|
@ -1285,7 +1285,7 @@ poller_set (struct poller *self, int fd, short events,
|
||||||
new_entry->fd = fd;
|
new_entry->fd = fd;
|
||||||
new_entry->events = events;
|
new_entry->events = events;
|
||||||
|
|
||||||
self->fds_info[self->len] = (struct poller_info) { dispatcher, data };
|
self->fds_info[index] = (struct poller_info) { dispatcher, data };
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue