diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-10-26 20:00:43 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-10-26 20:00:43 +0000 |
commit | 2e36dbe1a6b1056917c85350e2743a6babe96aa2 (patch) | |
tree | 7907b29320f9e21c31aafe346ce48a2abf82e0c1 /epoll.c | |
parent | 37c3456d70b343588acf09b38b6dde6e9745b2f8 (diff) | |
download | libevent-2e36dbe1a6b1056917c85350e2743a6babe96aa2.tar.gz |
Use EVUTIL_ASSERT() consistently instead of assert.
svn:r1464
Diffstat (limited to 'epoll.c')
-rw-r--r-- | epoll.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |