summaryrefslogtreecommitdiff
path: root/epoll.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-26 20:00:43 +0000
committerNick Mathewson <nickm@torproject.org>2009-10-26 20:00:43 +0000
commit2e36dbe1a6b1056917c85350e2743a6babe96aa2 (patch)
tree7907b29320f9e21c31aafe346ce48a2abf82e0c1 /epoll.c
parent37c3456d70b343588acf09b38b6dde6e9745b2f8 (diff)
downloadlibevent-2e36dbe1a6b1056917c85350e2743a6babe96aa2.tar.gz
Use EVUTIL_ASSERT() consistently instead of assert.
svn:r1464
Diffstat (limited to 'epoll.c')
-rw-r--r--epoll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epoll.c b/epoll.c
index a01e501f..171feb06 100644
--- a/epoll.c
+++ b/epoll.c
@@ -44,7 +44,6 @@
#include <string.h>
#include <unistd.h>
#include <errno.h>
-#include <assert.h>
#ifdef _EVENT_HAVE_FCNTL_H
#include <fcntl.h>
#endif
@@ -169,7 +168,7 @@ epoll_dispatch(struct event_base *base, struct timeval *tv)
}
event_debug(("%s: epoll_wait reports %d", __func__, res));
- assert(res <= epollop->nevents);
+ EVUTIL_ASSERT(res <= epollop->nevents);
for (i = 0; i < res; i++) {
int what = events[i].events;