Another fix for the legacy poller

This commit is contained in:
Přemysl Eric Janouch 2014-08-18 23:22:48 +02:00
parent 2c150b5399
commit 0484f7e995
1 changed files with 1 additions and 1 deletions

View File

@ -1285,7 +1285,7 @@ poller_set (struct poller *self, int fd, short events,
new_entry->fd = fd;
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