tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 8e5c75e89657384516f8c777c1b5fee44bcadc5e
parent 7177eeddf1df90a28d8f733d551ed1198e1fadb1
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu,  5 Mar 2020 09:09:16 -0500

Merge remote-tracking branch 'tor-github/pr/1772/head'

Diffstat:
Msrc/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 @@ -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"); } }