Fix the assert I added to epoll.c: spotted by Dmitry Novikov

svn:r1432
This commit is contained in:
Nick Mathewson 2009-09-16 17:17:57 +00:00
parent c2ead9f173
commit 2622e5ace2

View File

@ -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;