aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-12-19 21:56:04 +0100
committerSebastian Hahn <sebastian@torproject.org>2009-12-25 16:35:47 +0100
commit51c00dbdec56f34759d491e9a4adf8a20fb295d5 (patch)
treece221d9c9a7a83b50f9ddec47454676cb9aa2d16 /src/or/main.c
parent9f1618b518dc82b70562187b564f6afdbdbe1b16 (diff)
downloadtor-51c00dbdec56f34759d491e9a4adf8a20fb295d5.tar.gz
tor-51c00dbdec56f34759d491e9a4adf8a20fb295d5.zip
Remove some old, commented out code
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4c1e61e8a4..f4ee16ca1f 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1296,14 +1296,6 @@ second_elapsed_callback(int fd, short event, void *args)
current_second = now; /* remember which second it is, for next time */
-#if 0
- if (current_second % 300 == 0) {
- rep_history_clean(current_second - options->RephistTrackTime);
- dumpmemusage(get_min_log_level()<LOG_INFO ?
- get_min_log_level() : LOG_INFO);
- }
-#endif
-
if (event_add(timeout_event, &one_second))
log_err(LD_NET,
"Error from libevent when setting one-second timeout event");