aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-12-22 07:15:24 -0800
committerRobert Ransom <rransom.8774@gmail.com>2011-12-22 23:46:09 -0800
commit4c3a23b283774f02fbc35f70c72256c6469071d3 (patch)
tree6888a3030d50cd73141d9a3176adf7190a911646 /src/or/rendclient.c
parent66f77561c0bb93bf768b2764137ab1b5e4fc04a4 (diff)
downloadtor-4c3a23b283774f02fbc35f70c72256c6469071d3.tar.gz
tor-4c3a23b283774f02fbc35f70c72256c6469071d3.zip
Look up the rend circ whose INTRODUCE1 is being ACKed correctly
This change cannibalizes circuit_get_by_rend_query_and_purpose because it had exactly one caller.
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index d9b210ae35..84a9d4950d 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -350,8 +350,7 @@ rend_client_introduction_acked(origin_circuit_t *circ,
* and tell it.
*/
log_info(LD_REND,"Received ack. Telling rend circ...");
- rendcirc = circuit_get_by_rend_query_and_purpose(
- circ->rend_data->onion_address, CIRCUIT_PURPOSE_C_REND_READY);
+ rendcirc = circuit_get_ready_rend_circ_by_rend_data(circ->rend_data);
if (rendcirc) { /* remember the ack */
#ifndef NON_ANONYMOUS_MODE_ENABLED
tor_assert(!(rendcirc->build_state->onehop_tunnel));