]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
using 0 instead of false
authorMark Andrews <marka@isc.org>
Thu, 18 Apr 2019 03:02:30 +0000 (13:02 +1000)
committerMark Andrews <marka@isc.org>
Tue, 23 Apr 2019 01:46:12 +0000 (11:46 +1000)
(cherry picked from commit da7f683abfffa806763aa89062412e640ce906e3)

lib/dns/message.c
lib/dns/tests/name_test.c

index 9317894730f95c7ef24ab67ecc88b4e0c48d9a93..cc49b01219001451527b4ac362f2d09aa3f2b3a9 100644 (file)
@@ -898,7 +898,7 @@ getname(dns_name_t *name, isc_buffer_t *source, dns_message_t *msg,
         */
        tries = 0;
        while (tries < 2) {
-               result = dns_name_fromwire(name, source, dctx, false,
+               result = dns_name_fromwire(name, source, dctx, 0,
                                           scratch);
 
                if (result == ISC_R_NOSPACE) {
index 21c439914b12e664c5c6912bc58453b8bf310697..a4a9c9d9e0ad62a2434e8921648c688f43cd30e0 100644 (file)
@@ -168,13 +168,13 @@ compress_test(dns_name_t *name1, dns_name_t *name2, dns_name_t *name3,
        isc_buffer_setactive(&source, source.used);
 
        dns_name_init(&name, NULL);
-       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, false,
+       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, 0,
                                        &target) == ISC_R_SUCCESS);
-       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, false,
+       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, 0,
                                        &target) == ISC_R_SUCCESS);
-       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, false,
+       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, 0,
                                        &target) == ISC_R_SUCCESS);
-       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, false,
+       RUNTIME_CHECK(dns_name_fromwire(&name, &source, dctx, 0,
                                        &target) == ISC_R_SUCCESS);
        dns_decompress_invalidate(dctx);