summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-01 23:13:04 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-01 23:13:04 +0000
commitcbab134bd98984a7758ac8cd80daa4a9bf16a406 (patch)
tree6686c57309858b5c46d32f4e485fbc8e96e66d05 /src/or/cpuworker.c
parente1ba0c466341a883394d446c0ad81855c1076b9d (diff)
downloadtor-cbab134bd98984a7758ac8cd80daa4a9bf16a406.tar.gz
tor-cbab134bd98984a7758ac8cd80daa4a9bf16a406.zip
Switch most uses of *_by_addr_port to *_by_identity_digest
svn:r1997
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 2 insertions, 0 deletions
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);