summaryrefslogtreecommitdiff
path: root/src/or/hs_service.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-04-28 19:56:12 -0400
committerNeel Chauhan <neel@neelc.org>2018-04-28 20:35:30 -0400
commitbfe5a739b79510d7ab32dad6e9882dc7b8bf024f (patch)
tree7886cbe60ae770db4978fdb1bdd159020d5e093f /src/or/hs_service.c
parentcb0af6157c0acbd0a30c20f8f0a3b9d4d1f402ad (diff)
downloadtor-bfe5a739b79510d7ab32dad6e9882dc7b8bf024f.tar.gz
tor-bfe5a739b79510d7ab32dad6e9882dc7b8bf024f.zip
Make hsdir_index in node_t a hsdir_index_t rather than a pointer.
Diffstat (limited to 'src/or/hs_service.c')
-rw-r--r--src/or/hs_service.c4
1 files changed, 2 insertions, 2 deletions
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),