From b6e7b57d9ad7a756a12e90df1ff5c81cc6cb9acd Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 11 May 2015 16:19:16 -0400 Subject: [PATCH] Use safe_str_client() for service ID in log Scrub the service ID in a warning log. Signed-off-by: David Goulet --- src/or/rendservice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 0a984f1447..b454a88c1b 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -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; } -- 2.47.3