1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 21:26:53 +00:00

(trunk libevent) fix kqueue build failure

This commit is contained in:
Charles Kerr 2010-01-17 04:59:21 +00:00
parent c8fc84b971
commit 72603cc5a0

View file

@ -364,8 +364,8 @@ kq_dispatch(struct event_base *base, void *arg, struct timeval *tv)
ev = (struct event *)events[i].udata;
assert(ev != NULL);
assert(ev->ev_pri == 0);
assert(ev->base != NULL);
assert(ev->base == base);
assert(ev->ev_base != NULL);
assert(ev->ev_base == base);
if (!(ev->ev_events & EV_PERSIST))
ev->ev_flags &= ~EVLIST_X_KQINKERNEL;