mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
fix xiando's bug -- we were reporting stuff about hibernation
even though it wasn't enabled. svn:r9055
This commit is contained in:
parent
81be0ad1e5
commit
29099a98c2
@ -3966,7 +3966,8 @@ or_state_save(time_t now)
|
||||
* to avoid redundant writes. */
|
||||
entry_guards_update_state(global_state);
|
||||
rep_hist_update_state(global_state);
|
||||
accounting_run_housekeeping(now);
|
||||
if (accounting_is_enabled(get_options()))
|
||||
accounting_run_housekeeping(now);
|
||||
|
||||
global_state->LastWritten = time(NULL);
|
||||
tor_free(global_state->TorVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user