From efcf6d626c4dde05d1341b77d0217c393c8e9c30 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 5 Nov 2006 17:07:08 +0000 Subject: typo in kqueue delete. From Niels Provos via the libevent SVN repo, by Bert JW. Regeer ok deraadt@ --- lib/libevent/kqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c index 500d7c4dd68..d05144de0d4 100644 --- a/lib/libevent/kqueue.c +++ b/lib/libevent/kqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kqueue.c,v 1.20 2006/03/30 06:32:36 brad Exp $ */ +/* $OpenBSD: kqueue.c,v 1.21 2006/11/05 17:07:07 brad Exp $ */ /* * Copyright 2000-2002 Niels Provos @@ -356,7 +356,7 @@ kq_del(void *arg, struct event *ev) int nsignal = EVENT_SIGNAL(ev); memset(&kev, 0, sizeof(kev)); - kev.ident = (int)signal; + kev.ident = nsignal; kev.filter = EVFILT_SIGNAL; kev.flags = EV_DELETE; -- cgit v1.2.3