diff options
author | David Goulet <dgoulet@ev0ke.net> | 2015-05-11 16:19:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-14 10:26:57 -0400 |
commit | b6e7b57d9ad7a756a12e90df1ff5c81cc6cb9acd (patch) | |
tree | c682bb36da048b8a501aeee835779ffcf53aef79 /src/or/rendservice.c | |
parent | 113dc51020bc6e6cf4702ac55e3bf17f3833fe99 (diff) | |
download | tor-b6e7b57d9ad7a756a12e90df1ff5c81cc6cb9acd.tar.gz tor-b6e7b57d9ad7a756a12e90df1ff5c81cc6cb9acd.zip |
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>
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |