diff options
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index b73c506325..e101e9a7b2 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -62,7 +62,9 @@ typedef struct rend_service_t { static smartlist_t *rend_service_list = NULL; /** Return the number of rendezvous services we have configured. */ -int num_rend_services(void) { +int +num_rend_services(void) +{ if (!rend_service_list) return 0; return smartlist_len(rend_service_list); @@ -374,7 +376,8 @@ rend_service_get_by_pk_digest(const char* digest) * to have good uptime. Else return 0. */ static int -rend_service_requires_uptime(rend_service_t *service) { +rend_service_requires_uptime(rend_service_t *service) +{ int i; rend_service_port_config_t *p; |