mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use config_new() to construct configuration objects.
We'll need to do it this way once the objects become more complex.
This commit is contained in:
@@ -111,7 +111,7 @@ global_init(void)
|
||||
}
|
||||
|
||||
/* set up the options. */
|
||||
mock_options = tor_malloc_zero(sizeof(or_options_t));
|
||||
mock_options = options_new();
|
||||
MOCK(get_options, mock_get_options);
|
||||
|
||||
/* Make BUG() and nonfatal asserts crash */
|
||||
|
||||
Reference in New Issue
Block a user