summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpyr <pyr@openbsd.org>2007-09-28 20:23:38 +0000
committerpyr <pyr@openbsd.org>2007-09-28 20:23:38 +0000
commit0e7beedecc1f97a4a24f7ad718724147d230e4c9 (patch)
tree7a12a14c542b04a6bd448cfac30c4a91dc8488b5
parentspaces (diff)
downloadwireguard-openbsd-0e7beedecc1f97a4a24f7ad718724147d230e4c9.tar.xz
wireguard-openbsd-0e7beedecc1f97a4a24f7ad718724147d230e4c9.zip
KNF
-rw-r--r--usr.sbin/hoststated/hoststated.c5
-rw-r--r--usr.sbin/relayd/relayd.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/hoststated/hoststated.c b/usr.sbin/hoststated/hoststated.c
index 8a0f9196486..03ac918fda4 100644
--- a/usr.sbin/hoststated/hoststated.c
+++ b/usr.sbin/hoststated/hoststated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.c,v 1.40 2007/09/28 13:29:56 pyr Exp $ */
+/* $OpenBSD: hoststated.c,v 1.41 2007/09/28 20:23:38 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -473,7 +473,8 @@ purge_config(struct hoststated *env, u_int8_t what)
while ((rly = TAILQ_FIRST(&env->relays)) != NULL) {
TAILQ_REMOVE(&env->relays, rly, entry);
while ((sess = SPLAY_ROOT(&rly->sessions)) != NULL) {
- SPLAY_REMOVE(session_tree, &rly->sessions, sess);
+ SPLAY_REMOVE(session_tree,
+ &rly->sessions, sess);
free(sess);
}
if (rly->bev != NULL)
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index 5f2d0bb5735..15c0d3b948b 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.40 2007/09/28 13:29:56 pyr Exp $ */
+/* $OpenBSD: relayd.c,v 1.41 2007/09/28 20:23:38 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -473,7 +473,8 @@ purge_config(struct hoststated *env, u_int8_t what)
while ((rly = TAILQ_FIRST(&env->relays)) != NULL) {
TAILQ_REMOVE(&env->relays, rly, entry);
while ((sess = SPLAY_ROOT(&rly->sessions)) != NULL) {
- SPLAY_REMOVE(session_tree, &rly->sessions, sess);
+ SPLAY_REMOVE(session_tree,
+ &rly->sessions, sess);
free(sess);
}
if (rly->bev != NULL)