Merge branch 'incorrect-use-of-bool' into 'master'

using 0 instead of false

See merge request isc-projects/bind9!1820
This commit is contained in:
Mark Andrews 2019-04-22 21:25:33 -04:00
commit f3e2780dc8
2 changed files with 5 additions and 5 deletions

View file

@ -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) {

View file

@ -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);