2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Simplify dns_name_init()

Remove the now-unused offsets parameter from dns_name_init().
This commit is contained in:
Ondřej Surý
2025-02-21 12:09:39 +01:00
parent 08e966df82
commit 04c2c2cbc8
95 changed files with 531 additions and 544 deletions

View File

@@ -2964,7 +2964,7 @@ is_glue(rdatalist_head_t *head, dns_name_t *owner) {
rdata = ISC_LIST_HEAD(this->rdata);
while (rdata != NULL) {
dns_name_init(&name, NULL);
dns_name_init(&name);
dns_rdata_toregion(rdata, &region);
dns_name_fromregion(&name, &region);
if (dns_name_equal(&name, owner)) {