diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-08-12 09:35:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-18 08:56:23 -0400 |
commit | 81f3572467583c54eb2a22c3af93f7c819796563 (patch) | |
tree | 550d6b89b2125ef1e2b51f3e1ee03d3a62514b45 /src/or/config.c | |
parent | e507f9bf4280d1462876c6a5bfeaf549b19306f4 (diff) | |
download | tor-81f3572467583c54eb2a22c3af93f7c819796563.tar.gz tor-81f3572467583c54eb2a22c3af93f7c819796563.zip |
Refactor initialization logic for control-event-queue
This puts the init logic in a separate function, which we will need
once we have locking.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 011a36db17..9573b61dc4 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1106,6 +1106,9 @@ options_act_reversible(const or_options_t *old_options, char **msg) init_libevent(options); libevent_initialized = 1; + /* This has to come up after libevent is initialized. */ + control_initialize_event_queue(); + /* * Initialize the scheduler - this has to come after * options_init_from_torrc() sets up libevent - why yes, that seems |