summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 3cbbcfd7a1..a8804441a2 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1101,6 +1101,7 @@ static int tor_init(int argc, char *argv[]) {
/* only spawn dns handlers if we're a router */
if (server_mode(get_options()) && get_options()->command == CMD_RUN_TOR) {
dns_init(); /* initialize the dns resolve tree, and spawn workers */
+ /* XXX really, this should get moved to do_main_loop */
}
handle_signals(1);