2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 23:25:38 +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

@@ -549,8 +549,8 @@ getnodedata(dns_db_t *db, const dns_name_t *name, bool create,
fname = dns_fixedname_name(&fixed);
dns_name_getlabelsequence(
name, i + 1, dlabels - i - 1, fname);
result = dns_name_concatenate(
dns_wildcardname, fname, fname, NULL);
result = dns_name_concatenate(dns_wildcardname,
fname, fname);
if (result != ISC_R_SUCCESS) {
MAYBE_UNLOCK(sdlz->dlzimp);
return result;