diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-08-03 16:03:30 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | 2c6f2e9be9db6d3889a0756be93d7203888eaa72 (patch) | |
tree | 44a24aa6a4f1889a2dae7ea4f1e1179065705446 /src/or/hs_circuit.c | |
parent | 5ca9b830eacf46acde56469e5f19f977e5f02668 (diff) | |
download | tor-2c6f2e9be9db6d3889a0756be93d7203888eaa72.tar.gz tor-2c6f2e9be9db6d3889a0756be93d7203888eaa72.zip |
Constify functions that can be constified.
Diffstat (limited to 'src/or/hs_circuit.c')
-rw-r--r-- | src/or/hs_circuit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c index 2a753f659d..75c946799f 100644 --- a/src/or/hs_circuit.c +++ b/src/or/hs_circuit.c @@ -214,8 +214,8 @@ count_opened_desc_intro_point_circuits(const hs_service_t *service, DIGEST256MAP_FOREACH(desc->intro_points.map, key, const hs_service_intro_point_t *, ip) { - circuit_t *circ; - origin_circuit_t *ocirc = hs_circ_service_get_intro_circ(ip); + const circuit_t *circ; + const origin_circuit_t *ocirc = hs_circ_service_get_intro_circ(ip); if (ocirc == NULL) { continue; } |