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

Remove target buffer from dns_name_downcase()

There was just a single use of passing an extra buffer to
dns_name_downcase() which have been replaced by simple call to
isc_ascii_lowercase() and the 'target' argument from dns_name_downcase()
function has been removed.
This commit is contained in:
Ondřej Surý
2025-02-24 14:17:22 +01:00
parent 3bb47bc6cd
commit 79c3871a7b
12 changed files with 43 additions and 73 deletions

View File

@@ -1797,7 +1797,7 @@ update_nodes(dns_rpz_zone_t *rpz, isc_ht_t *newnodes) {
goto next;
}
dns_name_downcase(name, name, NULL);
dns_name_downcase(name, name);
/* Add entry to the new nodes table */
result = isc_ht_add(newnodes, name->ndata, name->length, rpz);