diff options
Diffstat (limited to 'source4/lib/events/events_epoll.c')
-rw-r--r-- | source4/lib/events/events_epoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/events/events_epoll.c b/source4/lib/events/events_epoll.c index efcbb97f0b..58eeb08cd5 100644 --- a/source4/lib/events/events_epoll.c +++ b/source4/lib/events/events_epoll.c @@ -204,7 +204,7 @@ static int epoll_event_loop(struct epoll_event_context *epoll_ev, struct timeval int ret, i; #define MAXEVENTS 8 struct epoll_event events[MAXEVENTS]; - uint32_t destruction_count = epoll_ev->destruction_count; + uint32_t destruction_count = ++epoll_ev->destruction_count; int timeout = -1; if (epoll_ev->epoll_fd == -1) return -1; |