summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/hoststated/relay.c')
-rw-r--r--usr.sbin/hoststated/relay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/relay.c b/usr.sbin/hoststated/relay.c
index 75edaadc39f..a8309756624 100644
--- a/usr.sbin/hoststated/relay.c
+++ b/usr.sbin/hoststated/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.9 2007/02/26 12:11:19 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.10 2007/02/26 12:16:12 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -1083,7 +1083,7 @@ next:
if (con->done)
goto done;
if (EVBUFFER_LENGTH(src))
- relay_bufferevent_write_buffer(cre->dst, src);
+ bev->readcb(bev, arg);
bufferevent_enable(bev, EV_READ);
return;
done: