diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-25 14:12:38 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-04-25 14:12:38 -0400 |
commit | b6f7e23bbde7ae8c50360665a7ff2f0839e9219e (patch) | |
tree | 2fbf8e1a66b04eb4413487d96505b0b19b5d21ae | |
parent | 2748dd0f1c5587433f3ef791aa85b8a7aa54515a (diff) | |
download | tor-b6f7e23bbde7ae8c50360665a7ff2f0839e9219e.tar.gz tor-b6f7e23bbde7ae8c50360665a7ff2f0839e9219e.zip |
clean_consdiffmgr() callback is only for directories
Only relevant for directory servers.
Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index ffe4073295..37eacd2c11 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2318,7 +2318,7 @@ static int clean_consdiffmgr_callback(time_t now, const or_options_t *options) { (void)now; - if (server_mode(options)) { + if (dir_server_mode(options)) { consdiffmgr_cleanup(); } return CDM_CLEAN_CALLBACK_INTERVAL; |