From bfe5a739b79510d7ab32dad6e9882dc7b8bf024f Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Sat, 28 Apr 2018 19:56:12 -0400 Subject: Make hsdir_index in node_t a hsdir_index_t rather than a pointer. --- src/or/hs_service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/hs_service.c') diff --git a/src/or/hs_service.c b/src/or/hs_service.c index 7af14373d4..4686eda0b1 100644 --- a/src/or/hs_service.c +++ b/src/or/hs_service.c @@ -2304,8 +2304,8 @@ upload_descriptor_to_hsdir(const hs_service_t *service, /* Logging so we know where it was sent. */ { int is_next_desc = (service->desc_next == desc); - const uint8_t *idx = (is_next_desc) ? hsdir->hsdir_index->store_second: - hsdir->hsdir_index->store_first; + const uint8_t *idx = (is_next_desc) ? hsdir->hsdir_index.store_second: + hsdir->hsdir_index.store_first; log_info(LD_REND, "Service %s %s descriptor of revision %" PRIu64 " initiated upload request to %s with index %s", safe_str_client(service->onion_address), -- cgit v1.2.3-54-g00ecf