From e9a0a023bd7a33ec0d95985b73483f2970749f98 Mon Sep 17 00:00:00 2001 From: Lukasz Rymanowski Date: Wed, 5 Mar 2014 10:22:37 +0100 Subject: [PATCH] monitor: Allow to modify epoll even events are the same This is epsecially needed when we want to modify timer. --- monitor/mainloop.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/monitor/mainloop.c b/monitor/mainloop.c index 8c94bfe27..7f97e6544 100644 --- a/monitor/mainloop.c +++ b/monitor/mainloop.c @@ -222,9 +222,6 @@ int mainloop_modify_fd(int fd, uint32_t events) if (!data) return -ENXIO; - if (data->events == events) - return 0; - memset(&ev, 0, sizeof(ev)); ev.events = events; ev.data.ptr = data; -- 2.47.3