aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-22 08:58:17 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-22 08:58:17 -0400
commit91467e04b18afce9af2189116ad0e160fef53e49 (patch)
tree4ddc095a95cecec1b431899841b73e2b5a388bf7 /src/or/circuitbuild.c
parent512c57cff97c0533bbb56e6c41a1e3dca5fd9064 (diff)
parent95a7e7e9254bc70db9e1d967d0db3deb658a2be3 (diff)
downloadtor-91467e04b18afce9af2189116ad0e160fef53e49.tar.gz
tor-91467e04b18afce9af2189116ad0e160fef53e49.zip
Merge branch 'bug22805_v2_squashed'
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index aa048f8c31..b36fed63b3 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1612,12 +1612,12 @@ onionskin_answer(or_circuit_t *circ,
memcpy(circ->rend_circ_nonce, rend_circ_nonce, DIGEST_LEN);
- circ->is_first_hop = (created_cell->cell_type == CELL_CREATED_FAST);
+ int used_create_fast = (created_cell->cell_type == CELL_CREATED_FAST);
append_cell_to_circuit_queue(TO_CIRCUIT(circ),
circ->p_chan, &cell, CELL_DIRECTION_IN, 0);
log_debug(LD_CIRC,"Finished sending '%s' cell.",
- circ->is_first_hop ? "created_fast" : "created");
+ used_create_fast ? "created_fast" : "created");
/* Ignore the local bit when ExtendAllowPrivateAddresses is set:
* it violates the assumption that private addresses are local.