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

[tor-commits] [tor/master] whitespace fixes



commit c3894473fee0199de50904973abb75fe2935451f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Apr 23 09:36:43 2015 -0400

    whitespace fixes
---
 src/common/crypto.c |    2 +-
 src/or/main.c       |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/common/crypto.c b/src/common/crypto.c
index f0d4fbb..f338114 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -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
diff --git a/src/or/main.c b/src/or/main.c
index 22b006a..3fb7de6 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 +

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits