aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorJohn Brooks <special@torproject.org>2016-03-21 19:22:14 +0700
committerJohn Brooks <special@torproject.org>2016-03-21 19:23:28 +0700
commit2c057c2833ff2ab0779cbd1e5f3747be0a232126 (patch)
treef3079f0b0f172c5e1e97d9bd217227ca9d8f3194 /src/or/rendservice.c
parent45681f695c6096e280bc7ec3bf0a67c27708dbbc (diff)
downloadtor-2c057c2833ff2ab0779cbd1e5f3747be0a232126.tar.gz
tor-2c057c2833ff2ab0779cbd1e5f3747be0a232126.zip
Scrub service name in introduction circuit warning
Fixes bug 18600.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 09b20e34a4..39e5831589 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -2717,7 +2717,7 @@ rend_service_intro_has_opened(origin_circuit_t *circuit)
circuit->rend_data->rend_pk_digest);
if (!service) {
log_warn(LD_REND, "Unrecognized service ID %s on introduction circuit %u.",
- serviceid, (unsigned)circuit->base_.n_circ_id);
+ safe_str_client(serviceid), (unsigned)circuit->base_.n_circ_id);
reason = END_CIRC_REASON_NOSUCHSERVICE;
goto err;
}