Replace custom isc_boolean_t with C standard bool type
This commit is contained in:
@@ -102,7 +102,7 @@ addrdata(dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata)
|
||||
int res;
|
||||
|
||||
isc_buffer_init(&b, namearray, sizeof(namearray) - 1);
|
||||
result = dns_name_totext(name, ISC_TRUE, &b);
|
||||
result = dns_name_totext(name, true, &b);
|
||||
check_result(result, "dns_name_totext");
|
||||
namearray[isc_buffer_usedlength(&b)] = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user