aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-02 23:54:48 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-02 23:54:48 +0000
commit2202c2c7eca9b4ff86fc3f0730af698142739dad (patch)
treed16857dbab0c7f41669b5ca60fe459258c0b5584 /src/or/circuit.c
parent2bc2f1ed032a21f8b751e3d85ba56318fef0f9ed (diff)
downloadtor-2202c2c7eca9b4ff86fc3f0730af698142739dad.tar.gz
tor-2202c2c7eca9b4ff86fc3f0730af698142739dad.zip
AP conns use conn->rend_query now too
expose connection_ap_handshake_attach_circuit() svn:r1448
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index 0ffef57f97..cd87d59c7a 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -298,7 +298,7 @@ circuit_t *circuit_get_newest(connection_t *conn,
continue;
}
} else { /* not general */
- if(rend_cmp_service_ids(conn->socks_request->address, circ->rend_query)) {
+ if(rend_cmp_service_ids(conn->rend_query, circ->rend_query)) {
/* this circ is not for this conn */
continue;
}
@@ -1070,7 +1070,7 @@ static void circuit_failed(circuit_t *circ) {
/* we should examine circ and see if it failed because of
* the last hop or an earlier hop. then use this info below.
*/
- int failed_at_last_hop;
+ //int failed_at_last_hop;
switch(circ->purpose) {
case CIRCUIT_PURPOSE_C_GENERAL: