mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
Correct spacing in dns_launch_correctness_checks()
This commit is contained in:
parent
6472d9cfdf
commit
2ef2fef711
1 changed files with 2 additions and 2 deletions
|
@ -2016,12 +2016,12 @@ dns_launch_correctness_checks(void)
|
||||||
|
|
||||||
/* Wait a while before launching requests for test addresses, so we can
|
/* Wait a while before launching requests for test addresses, so we can
|
||||||
* get the results from checking for wildcarding. */
|
* get the results from checking for wildcarding. */
|
||||||
if (! launch_event)
|
if (!launch_event)
|
||||||
launch_event = tor_evtimer_new(tor_libevent_get_base(),
|
launch_event = tor_evtimer_new(tor_libevent_get_base(),
|
||||||
launch_test_addresses, NULL);
|
launch_test_addresses, NULL);
|
||||||
timeout.tv_sec = 30;
|
timeout.tv_sec = 30;
|
||||||
timeout.tv_usec = 0;
|
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");
|
log_warn(LD_BUG, "Couldn't add timer for checking for dns hijacking");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue