2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 08:05:21 +00:00

remove 'target' parameter from dns_name_concatenate()

the target buffer passed to dns_name_concatenate() was never
used (except for one place in dig, where it wasn't actually
needed, and has already been removed in a prior commit).
we can safely remove the parameter.
This commit is contained in:
Evan Hunt
2025-02-21 00:56:47 -08:00
parent 2edefbad4a
commit a6986f6837
20 changed files with 46 additions and 65 deletions

View File

@@ -1071,7 +1071,7 @@ name2data(dns_rpz_zone_t *rpz, dns_rpz_type_t rpz_type,
n -= dns_name_countlabels(&rpz->nsdname);
}
dns_name_getlabelsequence(src_name, prefix_len, n, &tmp_name);
(void)dns_name_concatenate(&tmp_name, dns_rootname, trig_name, NULL);
(void)dns_name_concatenate(&tmp_name, dns_rootname, trig_name);
}
#ifndef HAVE_BUILTIN_CLZ