aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-05 23:20:45 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-05 23:20:45 +0000
commit5cf758764ee9460f9bda8f0494f311ace54c8616 (patch)
treec72e40beedb6a6eee01a92c5f3a1cb2697fea268 /src/or/main.c
parentba67d14d407adcf603d422c07236438083aa0f30 (diff)
downloadtor-5cf758764ee9460f9bda8f0494f311ace54c8616.tar
tor-5cf758764ee9460f9bda8f0494f311ace54c8616.tar.gz
Rate-limit warnings related to unrecognized MyFamily elements.
svn:r5204
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index d6a24112d..d05a5b828 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -926,6 +926,7 @@ do_hup(void)
if (accounting_is_enabled(options))
accounting_record_bandwidth_usage(time(NULL));
+ router_reset_warnings();
routerlist_reset_warnings();
addressmap_clear_transient();
/* first, reload config variables, in case they've changed */
@@ -1382,7 +1383,7 @@ tor_free_all(int postfork)
connection_free_all();
if (!postfork) {
config_free_all();
- router_free_all_keys();
+ router_free_all();
}
tor_tls_free_all();
/* stuff in main.c */