diff options
author | Roger Dingledine <arma@torproject.org> | 2006-12-16 11:34:12 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-12-16 11:34:12 +0000 |
commit | 0cc7eaf3025aa3593b78dadb2c244dc99942bf38 (patch) | |
tree | bce0c1baf85ca0ac9cc0b56b75f485e428262a2d /src/or/hibernate.c | |
parent | f175aca3a8963ef46c507dc8d8550f96a5ba248a (diff) | |
download | tor-0cc7eaf3025aa3593b78dadb2c244dc99942bf38.tar.gz tor-0cc7eaf3025aa3593b78dadb2c244dc99942bf38.zip |
remove some dead comments, and resolve some XXXs
svn:r9141
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 193594b63b..9a1d808572 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -934,7 +934,7 @@ getinfo_helper_accounting(control_connection_t *conn, { (void) conn; if (!strcmp(question, "accounting/enabled")) { - *answer = tor_strdup(get_options()->AccountingMax ? "1" : "0"); + *answer = tor_strdup(accounting_is_enabled(get_options()) ? "1" : "0"); } else if (!strcmp(question, "accounting/hibernating")) { if (hibernate_state == HIBERNATE_STATE_DORMANT) *answer = tor_strdup("hard"); |