mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
remove dns_name_totext2() and dns_name_toprincipal()
we can pass option flags to dns_name_totext() to get the same results, and eliminate the extra function names.
This commit is contained in:
@@ -551,7 +551,7 @@ dns_ntatable_save(dns_ntatable_t *ntatable, FILE *fp) {
|
||||
}
|
||||
|
||||
isc_buffer_init(&b, nbuf, sizeof(nbuf));
|
||||
result = dns_name_totext(n->name, false, &b);
|
||||
result = dns_name_totext(n->name, 0, &b);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user