diff options
author | huyvq <huyvq.c633@gmail.com> | 2017-06-02 23:26:53 +0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-21 13:49:17 -0400 |
commit | d92b999757336249bcff15c5c498e6e5353d38c4 (patch) | |
tree | 068e68aaabacafd7e82635591ff5296ef7eab144 /src/or/main.c | |
parent | 0471c905a18760413a63f05f50535313c76ca0c4 (diff) | |
download | tor-d92b999757336249bcff15c5c498e6e5353d38c4.tar.gz tor-d92b999757336249bcff15c5c498e6e5353d38c4.zip |
Convert authdir_mode_handles_descs(options, -1) with authdir_mode(options)
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index 9699c8d381..9709aebeb1 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2355,7 +2355,7 @@ do_hup(void) tor_free(msg); } } - if (authdir_mode_handles_descs(options, -1)) { + if (authdir_mode(options)) { /* reload the approved-routers file */ if (dirserv_load_fingerprint_file() < 0) { /* warnings are logged from dirserv_load_fingerprint_file() directly */ @@ -3478,7 +3478,7 @@ sandbox_init_filter(void) if (options->BridgeAuthoritativeDir) OPEN_DATADIR_SUFFIX("networkstatus-bridges", ".tmp"); - if (authdir_mode_handles_descs(options, -1)) + if (authdir_mode(options)) OPEN_DATADIR("approved-routers"); if (options->ServerDNSResolvConfFile) |