mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 00:55:24 +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:
@@ -875,8 +875,7 @@ set_target(dns_adb_t *adb, const dns_name_t *name, const dns_name_t *fname,
|
||||
prefix = dns_fixedname_initname(&fixed1);
|
||||
new_target = dns_fixedname_initname(&fixed2);
|
||||
dns_name_split(name, nlabels, prefix, NULL);
|
||||
result = dns_name_concatenate(prefix, &dname.dname, new_target,
|
||||
NULL);
|
||||
result = dns_name_concatenate(prefix, &dname.dname, new_target);
|
||||
dns_rdata_freestruct(&dname);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user