From cbab134bd98984a7758ac8cd80daa4a9bf16a406 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 1 Jul 2004 23:13:04 +0000 Subject: Switch most uses of *_by_addr_port to *_by_identity_digest svn:r1997 --- src/or/cpuworker.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/cpuworker.c') diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 1b55822a5f..c3e567cdfe 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -132,6 +132,8 @@ int connection_cpu_process_inbuf(connection_t *conn) { /* parse out the circ it was talking about */ tag_unpack(buf, &addr, &port, &circ_id); circ = NULL; + /* XXXX This is actually right: we want a specific port here in + * case there are multiple connections. */ p_conn = connection_exact_get_by_addr_port(addr,port); if(p_conn) circ = circuit_get_by_circ_id_conn(circ_id, p_conn); -- cgit v1.2.3-54-g00ecf