[tor-commits] [tor/master] Correct spacing in dns_launch_correctness_checks()

nickm at torproject.org nickm at torproject.org
Thu Mar 5 14:09:25 UTC 2020


commit 2ef2fef711586b54d0bed620cd4df5f60132a89b
Author: Neel Chauhan <neel at neelc.org>
Date:   Wed Feb 26 15:48:45 2020 -0800

    Correct spacing in dns_launch_correctness_checks()
---
 src/feature/relay/dns.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c
index 99f48ab2c..3e803e7c7 100644
--- a/src/feature/relay/dns.c
+++ b/src/feature/relay/dns.c
@@ -2016,12 +2016,12 @@ dns_launch_correctness_checks(void)
 
   /* Wait a while before launching requests for test addresses, so we can
    * get the results from checking for wildcarding. */
-  if (! launch_event)
+  if (!launch_event)
     launch_event = tor_evtimer_new(tor_libevent_get_base(),
                                    launch_test_addresses, NULL);
   timeout.tv_sec = 30;
   timeout.tv_usec = 0;
-  if (evtimer_add(launch_event, &timeout)<0) {
+  if (evtimer_add(launch_event, &timeout) < 0) {
     log_warn(LD_BUG, "Couldn't add timer for checking for dns hijacking");
   }
 }





More information about the tor-commits mailing list