Refactor
This commit is contained in:
parent
b9becfa788
commit
38f79e32a8
1 changed files with 4 additions and 1 deletions
|
@ -1041,7 +1041,10 @@ class DnsOverHttpsProbeRunner : public DnsProbeRunner {
|
|||
DnsResponseResultExtractor extractor(response);
|
||||
HostCache::Entry results(ERR_FAILED, HostCache::Entry::SOURCE_UNKNOWN);
|
||||
DnsResponseResultExtractor::ExtractionError extraction_error =
|
||||
extractor.ExtractDnsResults(DnsQueryType::A, &results);
|
||||
extractor.ExtractDnsResults(
|
||||
DnsQueryType::A,
|
||||
/*original_domain_name=*/kDoHProbeHostname,
|
||||
/*request_port=*/0, &results);
|
||||
|
||||
if (extraction_error ==
|
||||
DnsResponseResultExtractor::ExtractionError::kOk &&
|
||||
|
|
Loading…
Reference in a new issue