commit 2ef2fef711586b54d0bed620cd4df5f60132a89b
parent 6472d9cfdf1198cf3a09659204170f9942a8fba3
Author: Neel Chauhan <neel@neelc.org>
Date: Wed, 26 Feb 2020 15:48:45 -0800
Correct spacing in dns_launch_correctness_checks()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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");
}
}