summaryrefslogtreecommitdiff
path: root/src/feature/dirauth
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-07-23 11:32:52 -0400
committerNick Mathewson <nickm@torproject.org>2019-08-28 09:40:53 -0400
commit38b770bbbb37aef6cd3cef5fd6f425cd951affe2 (patch)
tree65a613a67a7f9baf09c4f8cdcbe1e7efb8b613bb /src/feature/dirauth
parent47654d32497acae23aafbe3316ae73d3c00429c8 (diff)
downloadtor-38b770bbbb37aef6cd3cef5fd6f425cd951affe2.tar.gz
tor-38b770bbbb37aef6cd3cef5fd6f425cd951affe2.zip
Make a config_suite_t type to hold multiple config sub-objects
Right now, it doesn't do anything; this patch is meant to make sure that we're doing memory management correctly.
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r--src/feature/dirauth/shared_random_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c
index fac1efc54d..f2a626c738 100644
--- a/src/feature/dirauth/shared_random_state.c
+++ b/src/feature/dirauth/shared_random_state.c
@@ -100,6 +100,7 @@ static const config_format_t state_format = {
disk_state_validate_cb,
NULL,
&state_extra_var,
+ -1,
};
/* Global configuration manager for the shared-random state file */