aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_service.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-02-05 10:58:19 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-02-19 13:19:08 -0500
commita34885bc8035eb29524749582c16ce4ec8fbc715 (patch)
treee9754d86f0165eaabf9dfd50a80d439f759434ce /src/feature/hs/hs_service.c
parent2444629c86e3368ebd6c9ee1b54aa5a5959fa398 (diff)
downloadtor-a34885bc8035eb29524749582c16ce4ec8fbc715.tar.gz
tor-a34885bc8035eb29524749582c16ce4ec8fbc715.zip
hs: Rename service config port object
Remove it from rendservice.c and move everything related to hs_common.{c|h}. Related to #40266 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_service.c')
-rw-r--r--src/feature/hs/hs_service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index f0c493d91d..b33013ba1f 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -264,8 +264,8 @@ service_clear_config(hs_service_config_t *config)
}
tor_free(config->directory_path);
if (config->ports) {
- SMARTLIST_FOREACH(config->ports, rend_service_port_config_t *, p,
- rend_service_port_config_free(p););
+ SMARTLIST_FOREACH(config->ports, hs_port_config_t *, p,
+ hs_port_config_free(p););
smartlist_free(config->ports);
}
if (config->clients) {