diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-06 08:45:29 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-17 08:41:52 -0500 |
commit | c8b6392b4e2edbaa188ea71594cb2f985149bd88 (patch) | |
tree | b72ea9d1b2b76e793d7d329fae15765d595a85c2 /src/app/main/main.c | |
parent | eef021e12d5ad2fbc86d7bf058eacc40ae6f1757 (diff) | |
download | tor-c8b6392b4e2edbaa188ea71594cb2f985149bd88.tar.gz tor-c8b6392b4e2edbaa188ea71594cb2f985149bd88.zip |
Initialize publish/subscribe code when running as an NT service.
Fixes bug 32778; bugfix on 0.4.1.1-alpha.
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r-- | src/app/main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c index dad9777265..689bc526ab 100644 --- a/src/app/main/main.c +++ b/src/app/main/main.c @@ -1191,7 +1191,7 @@ run_tor_main_loop(void) } /** Install the publish/subscribe relationships for all the subsystems. */ -static void +void pubsub_install(void) { pubsub_builder_t *builder = pubsub_builder_new(); @@ -1203,7 +1203,7 @@ pubsub_install(void) /** Connect the mainloop to its publish/subscribe message delivery events if * appropriate, and configure the global channels appropriately. */ -static void +void pubsub_connect(void) { if (get_options()->command == CMD_RUN_TOR) { |