Use safe_str_client() for service ID in log

Scrub the service ID in a warning log.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
This commit is contained in:
David Goulet
2015-05-11 16:19:16 -04:00
committed by Nick Mathewson
parent 113dc51020
commit b6e7b57d9a
+2 -1
View File
@@ -3551,7 +3551,8 @@ rend_services_introduce(void)
log_warn(LD_REND,
"Could only establish %d introduction points for %s; "
"wanted %u.",
smartlist_len(service->intro_nodes), service->service_id,
smartlist_len(service->intro_nodes),
safe_str_client(service->service_id),
n_intro_points_to_open);
break;
}