]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
whitespace fixes
authorNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2015 13:36:43 +0000 (09:36 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2015 13:36:43 +0000 (09:36 -0400)
src/common/crypto.c
src/or/main.c

index f0d4fbbf21ec9947865f6081b15a8c7236d4cba2..f338114d76105a244a7a13c3e66f0252f8944c39 100644 (file)
@@ -2506,7 +2506,7 @@ static const char base64_encode_table[64] = {
  * bytes. Return the number of bytes written on success; -1 if
  * destlen is too short, or other failure.
  *
- * If <b>flags</b>&amp;BASE64_ENCODE_MULTILINE is true, return encoded 
+ * If <b>flags</b>&amp;BASE64_ENCODE_MULTILINE is true, return encoded
  * output in multiline format (64 character, `\n' terminated lines).
  */
 int
index 22b006a3c809809bd96649c4b43a200461462966..3fb7de6f6cdcb9d48cbab0348759f7b4d24f7243 100644 (file)
@@ -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 +