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

@@ -265,7 +265,7 @@ dns_badcache_add(dns_badcache_t *bc, const dns_name_t *name,
isc_buffer_init(&buffer, bad + 1, name->length);
bad->name = dns_fixedname_initname(&bad->fname);
dns_name_copynf(name, bad->name);
dns_name_copy(name, bad->name);
bc->table[hash] = bad;
count = atomic_fetch_add_relaxed(&bc->count, 1);