mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Merge branch 'tor-github/pr/1897'
This commit is contained in:
commit
ee0fb69fee
1 changed files with 2 additions and 3 deletions
|
@ -4351,17 +4351,16 @@ rend_consider_descriptor_republication(void)
|
||||||
void
|
void
|
||||||
rend_service_dump_stats(int severity)
|
rend_service_dump_stats(int severity)
|
||||||
{
|
{
|
||||||
int i,j;
|
|
||||||
rend_service_t *service;
|
rend_service_t *service;
|
||||||
rend_intro_point_t *intro;
|
rend_intro_point_t *intro;
|
||||||
const char *safe_name;
|
const char *safe_name;
|
||||||
origin_circuit_t *circ;
|
origin_circuit_t *circ;
|
||||||
|
|
||||||
for (i=0; i < smartlist_len(rend_service_list); ++i) {
|
for (int i = 0; i < smartlist_len(rend_service_list); ++i) {
|
||||||
service = smartlist_get(rend_service_list, i);
|
service = smartlist_get(rend_service_list, i);
|
||||||
tor_log(severity, LD_GENERAL, "Service configured in %s:",
|
tor_log(severity, LD_GENERAL, "Service configured in %s:",
|
||||||
rend_service_escaped_dir(service));
|
rend_service_escaped_dir(service));
|
||||||
for (j=0; j < smartlist_len(service->intro_nodes); ++j) {
|
for (int j = 0; j < smartlist_len(service->intro_nodes); ++j) {
|
||||||
intro = smartlist_get(service->intro_nodes, j);
|
intro = smartlist_get(service->intro_nodes, j);
|
||||||
safe_name = safe_str_client(intro->extend_info->nickname);
|
safe_name = safe_str_client(intro->extend_info->nickname);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue