mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
clean_consdiffmgr() callback is only for directories
Only relevant for directory servers. Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
2748dd0f1c
commit
b6f7e23bbd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user