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:
@@ -71,7 +71,7 @@ dns_difftuple_create(isc_mem_t *mctx, dns_diffop_t op, const dns_name_t *name,
|
||||
datap = (unsigned char *)(t + 1);
|
||||
|
||||
memmove(datap, name->ndata, name->length);
|
||||
dns_name_init(&t->name, NULL);
|
||||
dns_name_init(&t->name);
|
||||
dns_name_clone(name, &t->name);
|
||||
t->name.ndata = datap;
|
||||
datap += name->length;
|
||||
|
Reference in New Issue
Block a user