2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

rename dns_name_copynf() to dns_name_copy()

dns_name_copy() is now the standard name-copying function.
This commit is contained in:
Evan Hunt
2021-05-21 17:20:44 -07:00
parent ea7b28f101
commit b0aadaac8e
38 changed files with 123 additions and 124 deletions

View File

@@ -713,7 +713,7 @@ foreach_rr(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
add_rr_prepare_ctx_t *ctx = rr_action_data;
ctx->oldname = dns_fixedname_initname(&fixed);
dns_name_copynf(name, ctx->oldname);
dns_name_copy(name, ctx->oldname);
dns_rdataset_getownercase(&rdataset, ctx->oldname);
}
@@ -1057,7 +1057,7 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
t = ISC_LIST_HEAD(temp->tuples);
while (t != NULL) {
name = &t->name;
dns_name_copynf(name, tmpname);
dns_name_copy(name, tmpname);
*typep = t->rdata.type;
/* A new unique name begins here. */