summaryrefslogtreecommitdiff
path: root/src/or/hs_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/hs_control.c')
-rw-r--r--src/or/hs_control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/hs_control.c b/src/or/hs_control.c
index 87b4e3fca8..eca9ed1dd5 100644
--- a/src/or/hs_control.c
+++ b/src/or/hs_control.c
@@ -39,9 +39,8 @@ hs_control_desc_event_requested(const ed25519_public_key_t *onion_pk,
* can't pick a node without an hsdir_index. */
hsdir_node = node_get_by_id(hsdir_rs->identity_digest);
tor_assert(hsdir_node);
- tor_assert(hsdir_node->hsdir_index);
/* This is a fetch event. */
- hsdir_index = hsdir_node->hsdir_index->fetch;
+ hsdir_index = hsdir_node->hsdir_index.fetch;
/* Trigger the event. */
control_event_hs_descriptor_requested(onion_address, REND_NO_AUTH,