aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_config.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-10 11:31:51 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit4a8cf17897ca23f8352a27c1bffb6ebfd68a1e0e (patch)
treeecfa01e7deeb442e1b424172133ca50003f9115f /src/test/test_hs_config.c
parenta6b6227b2141f8d9d36f8555253ec4d56f423b04 (diff)
downloadtor-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/test/test_hs_config.c')
-rw-r--r--src/test/test_hs_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_config.c b/src/test/test_hs_config.c
index 4d4bbb8891..2a85a7db07 100644
--- a/src/test/test_hs_config.c
+++ b/src/test/test_hs_config.c
@@ -453,7 +453,7 @@ test_staging_service_v3(void *arg)
/* Ok, we have a service in our map! Registration went well. */
tt_int_op(get_hs_service_staging_list_size(), OP_EQ, 1);
/* Make sure we don't have a magic v2 service out of this. */
- tt_int_op(num_rend_services(), OP_EQ, 0);
+ tt_int_op(rend_num_services(), OP_EQ, 0);
done:
hs_free_all();