summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-03-17 22:54:50 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-03-17 22:54:50 +0000
commit66842cdc24fa5ece692a06fc8131157de196905b (patch)
treee202d36792056f1bc4573ea1eab9d3b76733e046
parentec0c40572ff05e05f4c2eb1a1da3d10053a7e850 (diff)
remove a debug message
-rw-r--r--usr.sbin/hoststated/hoststated.c6
-rw-r--r--usr.sbin/relayd/relayd.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/hoststated/hoststated.c b/usr.sbin/hoststated/hoststated.c
index 04deceefeda..eef5ba3901b 100644
--- a/usr.sbin/hoststated/hoststated.c
+++ b/usr.sbin/hoststated/hoststated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.c,v 1.20 2007/02/26 16:10:24 reyk Exp $ */
+/* $OpenBSD: hoststated.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);
}
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);
}