Scrub service name in introduction circuit warning

Fixes bug 18600.
This commit is contained in:
John Brooks 2016-03-21 19:22:14 +07:00
parent 45681f695c
commit 2c057c2833

View file

@ -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;
}