mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +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:
@@ -993,7 +993,7 @@ findext(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
|
||||
}
|
||||
|
||||
if (foundname != NULL) {
|
||||
dns_name_copynf(xname, foundname);
|
||||
dns_name_copy(xname, foundname);
|
||||
}
|
||||
|
||||
if (nodep != NULL) {
|
||||
@@ -1380,7 +1380,7 @@ dbiterator_current(dns_dbiterator_t *iterator, dns_dbnode_t **nodep,
|
||||
|
||||
attachnode(iterator->db, sdlziter->current, nodep);
|
||||
if (name != NULL) {
|
||||
dns_name_copynf(sdlziter->current->name, name);
|
||||
dns_name_copy(sdlziter->current->name, name);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
return (ISC_R_SUCCESS);
|
||||
@@ -1395,7 +1395,7 @@ dbiterator_pause(dns_dbiterator_t *iterator) {
|
||||
static isc_result_t
|
||||
dbiterator_origin(dns_dbiterator_t *iterator, dns_name_t *name) {
|
||||
UNUSED(iterator);
|
||||
dns_name_copynf(dns_rootname, name);
|
||||
dns_name_copy(dns_rootname, name);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user