summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/check_tcp.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-02-22 05:58:07 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-02-22 05:58:07 +0000
commitbcefe5c2e682e793f76d803b02bb23b885b658c9 (patch)
tree5a062d7d8ba6e6d618a2a29fc4ebbbed35c9cada /usr.sbin/hoststated/check_tcp.c
parent9e07dc64a7f609b15dbf537d3f984b72641c918e (diff)
spacing
Diffstat (limited to 'usr.sbin/hoststated/check_tcp.c')
-rw-r--r--usr.sbin/hoststated/check_tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/hoststated/check_tcp.c b/usr.sbin/hoststated/check_tcp.c
index 905b0becbfd..82bb01f7186 100644
--- a/usr.sbin/hoststated/check_tcp.c
+++ b/usr.sbin/hoststated/check_tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: check_tcp.c,v 1.22 2007/02/08 13:32:24 reyk Exp $ */
+/* $OpenBSD: check_tcp.c,v 1.23 2007/02/22 05:58:06 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -176,8 +176,8 @@ void
tcp_send_req(int s, short event, void *arg)
{
struct ctl_tcp_event *cte = arg;
- int bs;
- int len;
+ int bs;
+ int len;
if (event == EV_TIMEOUT) {
cte->host->up = HOST_DOWN;
@@ -217,7 +217,7 @@ tcp_read_buf(int s, short event, void *arg)
char rbuf[SMALL_READ_BUF_SIZE];
struct ctl_tcp_event *cte = arg;
- if (event == EV_TIMEOUT) {
+ if (event == EV_TIMEOUT) {
cte->host->up = HOST_DOWN;
buf_free(cte->buf);
hce_notify_done(cte->host, "tcp_read_buf: timeout");