]> granicus.if.org Git - transmission/commitdiff
(trunk libevent) fix kqueue build failure
authorCharles Kerr <charles@transmissionbt.com>
Sun, 17 Jan 2010 04:59:21 +0000 (04:59 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sun, 17 Jan 2010 04:59:21 +0000 (04:59 +0000)
third-party/libevent/kqueue.c

index 00b83ecfaa64eaafd1e1f6d24792f067000450f8..62cd670b8ec6848ae2a0c642bc73e41274ebad83 100644 (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;