diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-03-05 09:09:16 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-03-05 09:09:16 -0500 |
commit | 8e5c75e89657384516f8c777c1b5fee44bcadc5e (patch) | |
tree | 609b787aeed6e1c67a8ed972b02153604c8cca8b /src/feature/relay | |
parent | 7177eeddf1df90a28d8f733d551ed1198e1fadb1 (diff) | |
parent | 2ef2fef711586b54d0bed620cd4df5f60132a89b (diff) | |
download | tor-8e5c75e89657384516f8c777c1b5fee44bcadc5e.tar.gz tor-8e5c75e89657384516f8c777c1b5fee44bcadc5e.zip |
Merge remote-tracking branch 'tor-github/pr/1772/head'
Diffstat (limited to 'src/feature/relay')
-rw-r--r-- | src/feature/relay/dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c index d614b8ea81..5f868a9020 100644 --- 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"); } } |