aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/rendservice.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 28c1e912f..063d5ea87 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -158,7 +158,6 @@ rend_add_service(rend_service_t *service)
log_warn(LD_CONFIG, "Hidden service with no ports configured; ignoring.");
rend_service_free(service);
} else {
- smartlist_set_capacity(service->ports, -1);
smartlist_add(rend_service_list, service);
log_debug(LD_REND,"Configuring service with directory \"%s\"",
service->directory);