mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
[master] remove unnecessary test in name.c
This commit is contained in:
parent
d58e33bfab
commit
a40b8e025a
@ -2118,12 +2118,7 @@ dns_name_concatenate(dns_name_t *prefix, dns_name_t *suffix, dns_name_t *name,
|
||||
if (copy_suffix) {
|
||||
if ((suffix->attributes & DNS_NAMEATTR_ABSOLUTE) != 0)
|
||||
absolute = ISC_TRUE;
|
||||
if (suffix == name && suffix->buffer == target)
|
||||
memmove(ndata + prefix_length, suffix->ndata,
|
||||
suffix->length);
|
||||
else
|
||||
memmove(ndata + prefix_length, suffix->ndata,
|
||||
suffix->length);
|
||||
memmove(ndata + prefix_length, suffix->ndata, suffix->length);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user