diff options
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/relayd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c index f84b52eeb18..d7c43004a41 100644 --- a/usr.sbin/relayd/relayd.c +++ b/usr.sbin/relayd/relayd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.c,v 1.20 2007/02/26 16:10:24 reyk Exp $ */ +/* $OpenBSD: relayd.c,v 1.21 2007/03/17 22:54:49 reyk Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -506,11 +506,9 @@ session_find(struct hoststated *env, objid_t id) struct session *con; TAILQ_FOREACH(rlay, &env->relays, entry) - TAILQ_FOREACH(con, &rlay->sessions, entry) { - log_debug("session_find: %d : %d", id, con->id); + TAILQ_FOREACH(con, &rlay->sessions, entry) if (con->id == id) return (con); - } return (NULL); } |