diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-01-31 12:12:51 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-01-31 12:12:51 +0000 |
commit | ac20736c423a4be197e31b7d9daebbe9a4c511a5 (patch) | |
tree | d9a5e4555c5e01415f6c73673cbba74db755bc45 /usr.sbin/relayd/relayd.c | |
parent | ea0ee432b6d9a05c7ff18cd90304ca91cf56006e (diff) |
add prefixes to names of structure elements to make it easier to grep
for code, next struct session;
ok reyk@;
Diffstat (limited to 'usr.sbin/relayd/relayd.c')
-rw-r--r-- | usr.sbin/relayd/relayd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c index ce24c3bed1d..e2942c3e0aa 100644 --- a/usr.sbin/relayd/relayd.c +++ b/usr.sbin/relayd/relayd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.c,v 1.68 2008/01/31 09:56:28 reyk Exp $ */ +/* $OpenBSD: relayd.c,v 1.69 2008/01/31 12:12:50 thib Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -776,7 +776,7 @@ session_find(struct relayd *env, objid_t id) TAILQ_FOREACH(rlay, env->sc_relays, rl_entry) SPLAY_FOREACH(con, session_tree, &rlay->rl_sessions) - if (con->id == id) + if (con->se_id == id) return (con); return (NULL); } |