2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

exorcized local compression

This commit is contained in:
David Lawrence
2000-03-23 05:18:46 +00:00
parent eb15741fc3
commit ecb6c5782e
22 changed files with 33 additions and 474 deletions

View File

@@ -345,12 +345,7 @@ dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx,
/*
* Write the rdata.
*/
result = dns_compress_localinit(cctx, &name, target);
if (result != DNS_R_SUCCESS)
goto rollback;
result = dns_rdata_towire(&rdata, cctx, target);
dns_compress_localinvalidate(cctx);
if (result != DNS_R_SUCCESS)
goto rollback;