[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] MonthlyAccountingStart is dead.



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
MonthlyAccountingStart is dead.


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.404
retrieving revision 1.405
diff -u -d -r1.404 -r1.405
--- config.c	7 Sep 2005 16:42:53 -0000	1.404
+++ config.c	8 Sep 2005 05:38:47 -0000	1.405
@@ -1845,24 +1845,6 @@
     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;
   }