aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-30 00:39:29 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-30 07:03:25 +0000
commit38cced90ef62aff04477d1b814ab2ee3b7776638 (patch)
treed1d89ea3699720cb500d749bb5811641e83ddb7a /src/or/main.c
parentdc37546cff2f025613ef142e74ad4db1c7d99ade (diff)
downloadtor-38cced90ef62aff04477d1b814ab2ee3b7776638.tar.gz
tor-38cced90ef62aff04477d1b814ab2ee3b7776638.zip
Move unparseable descriptor dumps into subdirectory of DataDir
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 32915706ef..65a67a9923 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3045,6 +3045,9 @@ tor_init(int argc, char *argv[])
log_warn(LD_NET, "Problem initializing libevent RNG.");
}
+ /* Scan/clean unparseable descroptors; after reading config */
+ routerparse_init();
+
return 0;
}