From 0484f7e995e4caf92a7bd49aea8d73e64742478d Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 18 Aug 2014 23:22:48 +0200
Subject: Another fix for the legacy poller
---
common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common.c b/common.c
index 9d26799..d10a115 100644
--- a/common.c
+++ b/common.c
@@ -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
--
cgit v1.2.3-70-g09d2