diff options
-rw-r--r-- | usr.sbin/hoststated/hoststated.c | 5 | ||||
-rw-r--r-- | usr.sbin/relayd/relayd.c | 5 |
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) |