forgot to initialize elements

svn:r23
This commit is contained in:
Niels Provos 2002-04-17 02:07:31 +00:00
parent dcf6cbe45d
commit 4ec4cddece

View File

@ -236,6 +236,8 @@ event_set(struct event *ev, int fd, short events,
ev->ev_fd = fd;
ev->ev_events = events;
ev->ev_flags = EVLIST_INIT;
ev->ev_ncalls = 0;
ev->ev_pncalls = NULL;
}
/*