diff options
author | 2005-05-04 03:17:48 +0000 | |
---|---|---|
committer | 2005-05-04 03:17:48 +0000 | |
commit | 1085edd87f9e20fc5dc5eabd649e9d4c15012e91 (patch) | |
tree | ecc66b67fdbefc67dc9494e97de6d2554a10a505 /lib/libevent/kqueue.c | |
parent | remove #ifdef __OpenBSD__ (diff) | |
download | wireguard-openbsd-1085edd87f9e20fc5dc5eabd649e9d4c15012e91.tar.xz wireguard-openbsd-1085edd87f9e20fc5dc5eabd649e9d4c15012e91.zip |
update to libevent 1.0d; keep local changes
thanks to Alexander von Gernler for testing
and some bug fixes
ok mpf@ norby@
Diffstat (limited to 'lib/libevent/kqueue.c')
-rw-r--r-- | lib/libevent/kqueue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c index 6280399efe4..a1a02ff993b 100644 --- a/lib/libevent/kqueue.c +++ b/lib/libevent/kqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kqueue.c,v 1.15 2005/04/22 00:56:25 brad Exp $ */ +/* $OpenBSD: kqueue.c,v 1.16 2005/05/04 03:17:48 brad Exp $ */ /* * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> @@ -225,6 +225,7 @@ kq_dispatch(struct event_base *base, void *arg, struct timeval *tv) if (events[i].data == EBADF || events[i].data == ENOENT) continue; + errno = events[i].data; return (-1); } |