summaryrefslogtreecommitdiff
path: root/src/or/rendmid.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-01-18 12:01:49 +0200
committerDavid Goulet <dgoulet@torproject.org>2017-04-07 09:11:09 -0400
commit037ce360bd0a7b0db1d6b6e441c90b1773b4cb06 (patch)
tree4a63e133b509033e90cd8d6f2cdd1111fd2dc0f1 /src/or/rendmid.c
parent489ef6b38ba66f59bb6562a4702c0500478a7495 (diff)
downloadtor-037ce360bd0a7b0db1d6b6e441c90b1773b4cb06.tar.gz
tor-037ce360bd0a7b0db1d6b6e441c90b1773b4cb06.zip
hs: Refactor circuitmap to use circuit_t instead of or_circuit_t.
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r--src/or/rendmid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c
index a7b37c7cc9..b581f0e5f1 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -342,7 +342,7 @@ rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
circuit_change_purpose(TO_CIRCUIT(circ), CIRCUIT_PURPOSE_REND_ESTABLISHED);
circuit_change_purpose(TO_CIRCUIT(rend_circ),
CIRCUIT_PURPOSE_REND_ESTABLISHED);
- hs_circuitmap_remove_circuit(circ);
+ hs_circuitmap_remove_circuit(TO_CIRCUIT(circ));
rend_circ->rend_splice = circ;
circ->rend_splice = rend_circ;