From 98c80a34565b29e266ba4a9a549de52b5efc5ed9 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 7 Feb 2001 03:01:19 +0000 Subject: [PATCH] do_next_response() was unlinking an event from the wrong list --- lib/dns/dispatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index 7a32a6ed51..50f86241f9 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dispatch.c,v 1.88 2001/01/31 22:16:37 gson Exp $ */ +/* $Id: dispatch.c,v 1.89 2001/02/07 03:01:19 bwelling Exp $ */ #include @@ -2215,7 +2215,7 @@ do_next_response(dns_dispatch_t *disp, dns_dispentry_t *resp) { return; } - ISC_LIST_UNLINK(disp->rq_events, ev, ev_link); + ISC_LIST_UNLINK(resp->items, ev, ev_link); ISC_EVENT_INIT(ev, sizeof(*ev), 0, NULL, DNS_EVENT_DISPATCH, resp->action, resp->arg, resp, NULL, NULL);