summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2009-06-04 14:03:23 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2009-06-04 14:03:23 +0000
commitd2dd38e8cc66df7b150864a83040dca3121aeb0e (patch)
treeabe491d88d023bac0973911f46cddb519b57b083 /usr.sbin/relayd
parent18add8a251509530bfd2b2c31816b9efd50ab6d6 (diff)
tweak
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/check_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/check_tcp.c b/usr.sbin/relayd/check_tcp.c
index 85f4e74de13..46c1ee0cf7c 100644
--- a/usr.sbin/relayd/check_tcp.c
+++ b/usr.sbin/relayd/check_tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: check_tcp.c,v 1.33 2008/12/05 16:37:55 reyk Exp $ */
+/* $OpenBSD: check_tcp.c,v 1.34 2009/06/04 14:03:22 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -91,6 +91,7 @@ check_tcp(struct ctl_tcp_event *cte)
}
}
+ cte->buf = NULL;
cte->host->up = HOST_UP;
event_set(&cte->ev, s, EV_TIMEOUT|EV_WRITE, tcp_write, cte);
event_add(&cte->ev, &tv);