[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Correct spacing in dns_launch_correctness_checks()
commit 2ef2fef711586b54d0bed620cd4df5f60132a89b
Author: Neel Chauhan <neel@xxxxxxxxx>
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");
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits