]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9_9_patch] address portability issues
authorEvan Hunt <each@isc.org>
Tue, 31 Jan 2017 00:53:54 +0000 (16:53 -0800)
committerEvan Hunt <each@isc.org>
Tue, 31 Jan 2017 00:53:54 +0000 (16:53 -0800)
(cherry picked from commit e2c0564d20ebab0899e1f5d5be130172bfaa1460)

lib/dns/resolver.c

index 67403f7cd4db5889f8e29aaa48fdf7c8f54828a6..51d9a75c2ab93c03e3dd70c78f4fa61d5db39e80 100644 (file)
@@ -5823,7 +5823,7 @@ cname_target(dns_rdataset_t *rdataset, dns_name_t *tname) {
  * the DNAME RR and store it in 'target'.
  */
 static inline isc_result_t
-dname_target(dns_rdataset_t *rdataset, const dns_name_t *qname,
+dname_target(dns_rdataset_t *rdataset, dns_name_t *qname,
             unsigned int nlabels, dns_name_t *target)
 {
        isc_result_t result;
@@ -5855,7 +5855,7 @@ dname_target(dns_rdataset_t *rdataset, const dns_name_t *qname,
  * and 'rdataset'.
  */
 static inline isc_result_t
-fromdname(dns_rdataset_t *rdataset, const dns_name_t *lastcname,
+fromdname(dns_rdataset_t *rdataset, dns_name_t *lastcname,
          unsigned int nlabels, const dns_name_t *qname)
 {
        dns_fixedname_t fixed;