Commit a40b8e02 authored by Evan Hunt's avatar Evan Hunt

[master] remove unnecessary test in name.c

parent d58e33bf
......@@ -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);
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment