From 2622e5ace2863e8e869254d9dba86549bbd9159b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 16 Sep 2009 17:17:57 +0000 Subject: [PATCH] Fix the assert I added to epoll.c: spotted by Dmitry Novikov svn:r1432 --- epoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epoll.c b/epoll.c index 02906d9b..c3d85ebf 100644 --- a/epoll.c +++ b/epoll.c @@ -163,7 +163,7 @@ epoll_dispatch(struct event_base *base, struct timeval *tv) } event_debug(("%s: epoll_wait reports %d", __func__, res)); - assert(res < epollop->nevents); + assert(res <= epollop->nevents); for (i = 0; i < res; i++) { int what = events[i].events; -- 2.40.0