diff options
author | David Goulet <dgoulet@torproject.org> | 2017-07-10 11:31:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | 4a8cf17897ca23f8352a27c1bffb6ebfd68a1e0e (patch) | |
tree | ecfa01e7deeb442e1b424172133ca50003f9115f /src/or/hs_service.c | |
parent | a6b6227b2141f8d9d36f8555253ec4d56f423b04 (diff) | |
download | tor-4a8cf17897ca23f8352a27c1bffb6ebfd68a1e0e.tar.gz tor-4a8cf17897ca23f8352a27c1bffb6ebfd68a1e0e.zip |
hs: Rename num_rend_services()
Renamed to rend_num_services() so it is consistent with the legacy naming.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_service.c')
-rw-r--r-- | src/or/hs_service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c index 2a35379664..9f496b6151 100644 --- a/src/or/hs_service.c +++ b/src/or/hs_service.c @@ -1864,7 +1864,7 @@ run_build_circuit_event(time_t now) } /* Run v2 check. */ - if (num_rend_services() > 0) { + if (rend_num_services() > 0) { rend_consider_services_intro_points(now); } @@ -2074,7 +2074,7 @@ run_upload_descriptor_event(time_t now) { /* v2 services use the same function for descriptor creation and upload so * we do everything here because the intro circuits were checked before. */ - if (num_rend_services() > 0) { + if (rend_num_services() > 0) { rend_consider_services_upload(now); rend_consider_descriptor_republication(); } @@ -2605,7 +2605,7 @@ int hs_service_load_all_keys(void) { /* Load v2 service keys if we have v2. */ - if (num_rend_services() != 0) { + if (rend_num_services() != 0) { if (rend_service_load_all_keys(NULL) < 0) { goto err; } |