aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helpers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-07-19 06:45:54 -0400
committerNick Mathewson <nickm@torproject.org>2019-07-24 15:21:56 -0400
commite8dc513bd012c9d7e1a5908c72056d5be52e760e (patch)
treee2ce3e075be6786118b6e8200741e14b595bdca0 /src/test/test_helpers.c
parentc32d485942e766eeea70cab468cc7c727a5be270 (diff)
downloadtor-e8dc513bd012c9d7e1a5908c72056d5be52e760e.tar.gz
tor-e8dc513bd012c9d7e1a5908c72056d5be52e760e.zip
Add a config_mgr_t type to wrap config_format_t
Remember that our goal in the present refactoring is to allow each subsystem to declare its own configuration structure and variables. To do this, each module will get its own config_format_t, and so we'll want a different structure that wraps several config_format_t objects. This is a "config_mgr_t".
Diffstat (limited to 'src/test/test_helpers.c')
-rw-r--r--src/test/test_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_helpers.c b/src/test/test_helpers.c
index b4389f2d17..31a6540efc 100644
--- a/src/test/test_helpers.c
+++ b/src/test/test_helpers.c
@@ -295,7 +295,7 @@ helper_parse_options(const char *conf)
if (ret != 0) {
goto done;
}
- ret = config_assign(&options_format, opt, line, 0, &msg);
+ ret = config_assign(get_options_mgr(), opt, line, 0, &msg);
if (ret != 0) {
goto done;
}