Changeset 9951


Ignore:
Timestamp:
Jan 17, 2010, 3:44:50 AM (12 years ago)
Author:
charles
Message:

(trunk libevent) add more debugging assertions so I can continue to torture exiva...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/libevent/event.c

    r9946 r9951  
    837837event_active(struct event *ev, int res, short ncalls)
    838838{
     839        assert(ev != NULL);
     840        assert(res != 0);
     841
    839842        /* We get different kinds of events, add them together */
    840843        if (ev->ev_flags & EVLIST_ACTIVE) {
     
    975978event_queue_insert(struct event_base *base, struct event *ev, int queue)
    976979{
     980        assert(base != NULL);
     981        assert(ev != NULL);
     982        assert(queue != 0);
     983
    977984        if (ev->ev_flags & queue) {
    978985                /* Double insertion is possible for active events */
Note: See TracChangeset for help on using the changeset viewer.