resolve: update argument comments

This commit is contained in:
Jelle van der Waa
2025-05-05 19:32:23 +02:00
parent 0777e64ea2
commit 160159a709
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2364,7 +2364,7 @@ int dns_packet_read_rr(
if (r < 0)
return r;
r = dns_packet_read_name(p, &rr->naptr.replacement, /* allow_compressed= */ false, NULL);
r = dns_packet_read_name(p, &rr->naptr.replacement, /* allow_compression= */ false, NULL);
break;
case DNS_TYPE_OPT: /* we only care about the header of OPT for now. */
+1 -1
View File
@@ -2074,7 +2074,7 @@ static int dns_transaction_make_packet(DnsTransaction *t) {
r = dns_packet_new_query(
&p, t->scope->protocol,
/* min_alloc_dsize = */ 0,
/* dnssec_cd = */ !FLAGS_SET(t->query_flags, SD_RESOLVED_NO_VALIDATE) &&
/* dnssec_checking_disabled = */ !FLAGS_SET(t->query_flags, SD_RESOLVED_NO_VALIDATE) &&
t->scope->dnssec_mode != DNSSEC_NO);
if (r < 0)
return r;