aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 95e0308fdc..22dc29ed76 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -311,7 +311,7 @@ options_act(void) {
}
/* Set up accounting */
- if (get_options()->AccountingMaxKB)
+ if (accounting_is_enabled(options))
configure_accounting(time(NULL));
if(retry_all_listeners(1) < 0) {