mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Another event2 evdns fix.
This commit is contained in:
parent
81eee0ecff
commit
71cdd99dd7
@ -1622,7 +1622,8 @@ 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(NULL, launch_test_addresses, NULL);
|
launch_event = tor_evtimer_new(tor_libevent_get_base(),
|
||||||
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user