aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_ob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/hs/hs_ob.c')
-rw-r--r--src/feature/hs/hs_ob.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/hs/hs_ob.c b/src/feature/hs/hs_ob.c
index f135ecd3f4..a6a5cec26f 100644
--- a/src/feature/hs/hs_ob.c
+++ b/src/feature/hs/hs_ob.c
@@ -392,12 +392,12 @@ hs_ob_refresh_keys(hs_service_t *service)
}
/* Delete old subcredentials if any */
- if (service->ob_subcreds) {
- tor_free(service->ob_subcreds);
+ if (service->state.ob_subcreds) {
+ tor_free(service->state.ob_subcreds);
}
- service->ob_subcreds = ob_subcreds;
- service->n_ob_subcreds = num_subcreds;
+ service->state.ob_subcreds = ob_subcreds;
+ service->state.n_ob_subcreds = num_subcreds;
}
/** Free any memory allocated by the onionblance subsystem. */