]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Correct spacing in dns_launch_correctness_checks()
authorNeel Chauhan <neel@neelc.org>
Wed, 26 Feb 2020 23:48:45 +0000 (15:48 -0800)
committerNeel Chauhan <neel@neelc.org>
Wed, 26 Feb 2020 23:48:45 +0000 (15:48 -0800)
src/feature/relay/dns.c

index 99f48ab2c2ddae41275537fd53fa9eafb472736e..3e803e7c7c539742bfbee971493efd98a66d0d72 100644 (file)
@@ -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");
   }
 }