aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-04-23 09:36:43 -0400
committerNick Mathewson <nickm@torproject.org>2015-04-23 09:36:43 -0400
commitc3894473fee0199de50904973abb75fe2935451f (patch)
treef535e049d845a642c751a2a0c25b7842e01ef71a /src/or/main.c
parentaf83a205b077590b4a44e6ee758f63745e0e9e47 (diff)
downloadtor-c3894473fee0199de50904973abb75fe2935451f.tar.gz
tor-c3894473fee0199de50904973abb75fe2935451f.zip
whitespace fixes
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 22b006a3c8..3fb7de6f6c 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1623,7 +1623,8 @@ run_scheduled_events(time_t now)
time_to.check_for_correct_dns < now &&
! router_my_exit_policy_is_reject_star()) {
if (!time_to.check_for_correct_dns) {
- time_to.check_for_correct_dns = crypto_rand_time_range(now, now + 120) + 60;
+ time_to.check_for_correct_dns =
+ crypto_rand_time_range(now + 60, now + 180);
} else {
dns_launch_correctness_checks();
time_to.check_for_correct_dns = now + 12*3600 +