From: Mark Andrews Date: Thu, 18 Apr 2019 03:02:30 +0000 (+1000) Subject: using 0 instead of false X-Git-Tag: v9.15.0~36^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=da7f683abfffa806763aa89062412e640ce906e3;p=thirdparty%2Fbind9.git using 0 instead of false --- diff --git a/lib/dns/message.c b/lib/dns/message.c index c73431a529e..8a12c1f1cb3 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -901,7 +901,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) { diff --git a/lib/dns/tests/name_test.c b/lib/dns/tests/name_test.c index 934d79a6975..f6dcdc380bc 100644 --- a/lib/dns/tests/name_test.c +++ b/lib/dns/tests/name_test.c @@ -166,13 +166,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);