diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-09-28 20:23:39 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-09-28 20:23:39 +0000 |
commit | 8648f48f08a29abeeffa596909f91020d3ce054b (patch) | |
tree | 5fc84d759632640867fac035f0926d897c9fc1f3 /usr.sbin/hoststated | |
parent | 560c2b7ef0857383bc98930dd3239e0a6853d561 (diff) |
KNF
Diffstat (limited to 'usr.sbin/hoststated')
-rw-r--r-- | usr.sbin/hoststated/hoststated.c | 5 |
1 files changed, 3 insertions, 2 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) |