diff options
author | Roger Dingledine <arma@torproject.org> | 2005-09-08 05:38:47 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-09-08 05:38:47 +0000 |
commit | 2f6664ce8005a6a09af0ecb8557dd403dc2fb5e2 (patch) | |
tree | acc90be6e3fe23230e7f07950321142cf886cf18 /src/or/config.c | |
parent | c9e1c41873b13e3585c35761fd0b06823e607155 (diff) | |
download | tor-2f6664ce8005a6a09af0ecb8557dd403dc2fb5e2.tar.gz tor-2f6664ce8005a6a09af0ecb8557dd403dc2fb5e2.zip |
MonthlyAccountingStart is dead.
svn:r4920
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/or/config.c b/src/or/config.c index 7091a29468..7e49e157fb 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1845,24 +1845,6 @@ options_validate(or_options_t *options) result = -1; } -#if 0 - if (options->_MonthlyAccountingStart) { - if (options->AccountingStart) { - log(LOG_WARN,"Can't specify AccountingStart and MonthlyAccountingStart"); - result = -1; - } else { - options->AccountingStart = tor_malloc(32); - if (tor_snprintf(options->AccountingStart, 32, "month %d 0:00", - options->_MonthlyAccountingStart)<0) { - log_fn(LOG_WARN,"Error translating MonthlyAccountingStart"); - result = -1; - } else { - log_fn(LOG_WARN,"MonthlyAccountingStart is deprecated. Use 'AccountingStart %s' instead.", options->AccountingStart); - } - } - } -#endif - if (accounting_parse_options(options, 1)<0) { result = -1; } |