Skip to content

Commit

Permalink
Correct spacing in dns_launch_correctness_checks()
Browse files Browse the repository at this point in the history
  • Loading branch information
neelchauhan committed Feb 26, 2020
1 parent 6472d9c commit 2ef2fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/feature/relay/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
Expand Down

0 comments on commit 2ef2fef

Please sign in to comment.