summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/hoststated/hoststated.c8
-rw-r--r--usr.sbin/relayd/relayd.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/hoststated/hoststated.c b/usr.sbin/hoststated/hoststated.c
index 2b90b833206..a13f69927b9 100644
--- a/usr.sbin/hoststated/hoststated.c
+++ b/usr.sbin/hoststated/hoststated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.c,v 1.32 2007/05/30 00:19:25 pyr Exp $ */
+/* $OpenBSD: hoststated.c,v 1.33 2007/05/30 00:51:21 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -254,18 +254,18 @@ main(int argc, char *argv[])
imsg_init(ibuf, pipe_parent2relay[c][1], main_dispatch_relay);
ibuf->events = EV_READ;
event_set(&ibuf->ev, ibuf->fd, ibuf->events,
- ibuf->handler, env);
+ ibuf->handler, ibuf);
event_add(&ibuf->ev, NULL);
}
ibuf_pfe->events = EV_READ;
event_set(&ibuf_pfe->ev, ibuf_pfe->fd, ibuf_pfe->events,
- ibuf_pfe->handler, env);
+ ibuf_pfe->handler, ibuf_pfe);
event_add(&ibuf_pfe->ev, NULL);
ibuf_hce->events = EV_READ;
event_set(&ibuf_hce->ev, ibuf_hce->fd, ibuf_hce->events,
- ibuf_hce->handler, env);
+ ibuf_hce->handler, ibuf_hce);
event_add(&ibuf_hce->ev, NULL);
if (env->flags & F_DEMOTE)
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index 0e5837d8879..ea980d89f73 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.32 2007/05/30 00:19:25 pyr Exp $ */
+/* $OpenBSD: relayd.c,v 1.33 2007/05/30 00:51:21 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -254,18 +254,18 @@ main(int argc, char *argv[])
imsg_init(ibuf, pipe_parent2relay[c][1], main_dispatch_relay);
ibuf->events = EV_READ;
event_set(&ibuf->ev, ibuf->fd, ibuf->events,
- ibuf->handler, env);
+ ibuf->handler, ibuf);
event_add(&ibuf->ev, NULL);
}
ibuf_pfe->events = EV_READ;
event_set(&ibuf_pfe->ev, ibuf_pfe->fd, ibuf_pfe->events,
- ibuf_pfe->handler, env);
+ ibuf_pfe->handler, ibuf_pfe);
event_add(&ibuf_pfe->ev, NULL);
ibuf_hce->events = EV_READ;
event_set(&ibuf_hce->ev, ibuf_hce->fd, ibuf_hce->events,
- ibuf_hce->handler, env);
+ ibuf_hce->handler, ibuf_hce);
event_add(&ibuf_hce->ev, NULL);
if (env->flags & F_DEMOTE)