mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 17:39:59 -04:00
[v9_9] remove unnecessary test in name.c
This commit is contained in:
parent
6608bb1adf
commit
571c5eeb19
1 changed files with 1 additions and 6 deletions
|
|
@ -2078,12 +2078,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…
Reference in a new issue