summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/check_tcp.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-11-19 15:20:19 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-11-19 15:20:19 +0000
commit4e72c0c8f690ef1ad70ff2ae6306e3f7857c68fc (patch)
tree5e5697fc3270fdc5d2e16f4b2acf8b1784d7ee84 /usr.sbin/relayd/check_tcp.c
parent1dc99d944e184ff0355a708c94cc4faa2c0c45ee (diff)
knf (replace some ';;' with a single ';')
Diffstat (limited to 'usr.sbin/relayd/check_tcp.c')
-rw-r--r--usr.sbin/relayd/check_tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayd/check_tcp.c b/usr.sbin/relayd/check_tcp.c
index 3f6125d195a..6b054bf2d6f 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.26 2007/09/28 13:29:56 pyr Exp $ */
+/* $OpenBSD: check_tcp.c,v 1.27 2007/11/19 15:20:18 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -145,7 +145,7 @@ tcp_host_up(int s, struct ctl_tcp_event *cte)
cte->validate_close = check_http_code;
break;
case CHECK_HTTP_DIGEST:
- cte->validate_read = NULL;;
+ cte->validate_read = NULL;
cte->validate_close = check_http_digest;
break;
case CHECK_SEND_EXPECT:
@@ -237,7 +237,7 @@ tcp_read_buf(int s, short event, void *arg)
buf_free(cte->buf);
close(cte->s);
hce_notify_done(cte->host, "tcp_read_buf: read failed");
- return;;
+ return;
case 0:
cte->host->up = HOST_DOWN;
(void)cte->validate_close(cte);