summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-04-05 23:18:48 -0400
committerNick Mathewson <nickm@torproject.org>2016-04-05 23:18:48 -0400
commit20d39e86afa37c2a7008c48f97c3ffd298441808 (patch)
treebda39a8eacc22697d7d0d5c61d9d4597cc019675 /src
parentb46d126e647a0789d362036e9a4d957f0d916aff (diff)
parentd037369e562ec40e602a86919c3e8341c867b48b (diff)
downloadtor-20d39e86afa37c2a7008c48f97c3ffd298441808.tar.gz
tor-20d39e86afa37c2a7008c48f97c3ffd298441808.zip
Merge branch 'maint-0.2.8'
Diffstat (limited to 'src')
-rw-r--r--src/or/periodic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/periodic.c b/src/or/periodic.c
index 3fe500ca17..057fcf672e 100644
--- a/src/or/periodic.c
+++ b/src/or/periodic.c
@@ -48,7 +48,7 @@ periodic_event_dispatch(evutil_socket_t fd, short what, void *data)
time_t now = time(NULL);
const or_options_t *options = get_options();
- log_debug(LD_GENERAL, "Dispatching %s", event->name);
+// log_debug(LD_GENERAL, "Dispatching %s", event->name);
int r = event->fn(now, options);
int next_interval = 0;
@@ -71,8 +71,8 @@ periodic_event_dispatch(evutil_socket_t fd, short what, void *data)
next_interval = 1;
}
- log_debug(LD_GENERAL, "Scheduling %s for %d seconds", event->name,
- next_interval);
+// log_debug(LD_GENERAL, "Scheduling %s for %d seconds", event->name,
+// next_interval);
struct timeval tv = { next_interval , 0 };
event_add(event->ev, &tv);
}