1661. [bug] Restore dns_name_concatenate() call in

adb.c:set_target().  [RT #11582]
This commit is contained in:
Mark Andrews
2004-06-18 01:22:32 +00:00
parent 99ba7fc5ff
commit e180037bc1
2 changed files with 5 additions and 2 deletions

View File

@@ -9,7 +9,8 @@
1662. [bug] Change #1658 failed to change one use of 'type'
to 'keytype'.
1661. [placeholder] rt11582
1661. [bug] Restore dns_name_concatenate() call in
adb.c:set_target(). [RT #11582]
1660. [bug] win32: connection_reset_fix() was being called
unconditionally. [RT #11595]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: adb.c,v 1.215 2004/03/10 02:19:55 marka Exp $ */
/* $Id: adb.c,v 1.216 2004/06/18 01:22:32 marka Exp $ */
/*
* Implementation notes
@@ -1007,6 +1007,8 @@ set_target(dns_adb_t *adb, dns_name_t *name, dns_name_t *fname,
dns_fixedname_init(&fixed2);
new_target = dns_fixedname_name(&fixed2);
dns_name_split(name, nlabels, prefix, NULL);
result = dns_name_concatenate(prefix, &dname.dname, new_target,
NULL);
dns_rdata_freestruct(&dname);
if (result != ISC_R_SUCCESS)
return (result);