aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-11-04 15:32:05 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2020-11-23 13:35:26 +0200
commiteaf814bd50be3588d699e2e773a2d57a9ebf58cb (patch)
tree5023728a057a645f675d173889f62b568d269362
parent0bd12cfe99f16f1e3130e8866e15ff703cc4b828 (diff)
downloadtor-eaf814bd50be3588d699e2e773a2d57a9ebf58cb.tar.gz
tor-eaf814bd50be3588d699e2e773a2d57a9ebf58cb.zip
Constify result of CONST_TO_OR_CIRCUIT.
-rw-r--r--src/core/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/command.c b/src/core/or/command.c
index 7767217275..e2bab87def 100644
--- a/src/core/or/command.c
+++ b/src/core/or/command.c
@@ -609,7 +609,7 @@ command_process_relay_cell(cell_t *cell, channel_t *chan)
* (which is the service->RP circuit) to see if it was using TAP and
* hence if it's a v2 circuit. That's because client->RP circuits can
* still use ntor even on v2; but service->RP will always use TAP. */
- or_circuit_t *splice = CONST_TO_OR_CIRCUIT(circ)->rend_splice;
+ const or_circuit_t *splice = CONST_TO_OR_CIRCUIT(circ)->rend_splice;
if (splice->used_legacy_circuit_handshake) {
is_v2 = true;
}