diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-18 23:22:48 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-18 23:22:48 +0200 |
commit | 0484f7e995e4caf92a7bd49aea8d73e64742478d (patch) | |
tree | e628fbddaf360c3e6eafc61907c900f9e0a34af6 | |
parent | 2c150b53992212d1a90c623d8b7faa5907e31ea8 (diff) | |
download | xK-0484f7e995e4caf92a7bd49aea8d73e64742478d.tar.gz xK-0484f7e995e4caf92a7bd49aea8d73e64742478d.tar.xz xK-0484f7e995e4caf92a7bd49aea8d73e64742478d.zip |
Another fix for the legacy poller
-rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |