2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

conform to resolver api changes

This commit is contained in:
Bob Halley 2000-01-21 02:48:28 +00:00
parent 46cfdf4977
commit 7fc55ea79f
2 changed files with 4 additions and 6 deletions

View File

@ -253,8 +253,7 @@ byaddr_find(dns_byaddr_t *byaddr, dns_fetchevent_t *event) {
} else {
result = event->result;
fname = dns_fixedname_name(&event->foundname);
dns_resolver_destroyfetch(byaddr->view->resolver,
&byaddr->fetch);
dns_resolver_destroyfetch(&byaddr->fetch);
INSIST(event->rdataset == &byaddr->rdataset);
INSIST(event->sigrdataset == NULL);
/*
@ -459,8 +458,7 @@ dns_byaddr_cancel(dns_byaddr_t *byaddr) {
byaddr->canceled = ISC_TRUE;
if (byaddr->fetch != NULL) {
INSIST(byaddr->view != NULL);
dns_resolver_cancelfetch(byaddr->view->resolver,
byaddr->fetch);
dns_resolver_cancelfetch(byaddr->fetch);
}
}

View File

@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: zone.c,v 1.57 2000/01/20 01:13:42 gson Exp $ */
/* $Id: zone.c,v 1.58 2000/01/21 02:48:28 halley Exp $ */
#include <config.h>
@ -344,7 +344,7 @@ zone_free(dns_zone_t *zone) {
if (zone->res != NULL)
dns_resolver_detach(&zone->res);
if (zone->fetch != NULL)
dns_resolver_destroyfetch(zone->res, &zone->fetch);
dns_resolver_destroyfetch(&zone->fetch);
if (zone->task != NULL)
isc_task_detach(&zone->task);
if (zone->socketmgr != NULL)