From 4ec4cddecee9100da65c4f7874fbb36ae5ec31ba Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Wed, 17 Apr 2002 02:07:31 +0000 Subject: [PATCH] forgot to initialize elements svn:r23 --- event.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/event.c b/event.c index aa5f295d..2d558ae9 100644 --- a/event.c +++ b/event.c @@ -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; } /* -- 2.40.0