From 252cebc0fadd9d75daec0b8846db42f2351f4925 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 9 Sep 2002 02:54:18 +0000 Subject: [PATCH] developer: marka reviewer: jinmei TRIEDFIND test had wrong sence. --- lib/dns/resolver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 2875955052..6c7df34f66 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: resolver.c,v 1.249 2002/08/29 07:01:49 marka Exp $ */ +/* $Id: resolver.c,v 1.250 2002/09/09 02:54:18 marka Exp $ */ #include @@ -427,7 +427,7 @@ fctx_cancelquery(resquery_t **queryp, dns_dispatchevent_t **deventp, if (UNMARKED(addrinfo)) dns_adb_adjustsrtt(fctx->adb, addrinfo, 0, factor); - if (finish != NULL && !TRIEDFIND(fctx)) + if (finish != NULL && TRIEDFIND(fctx)) for (find = ISC_LIST_HEAD(fctx->finds); find != NULL; find = ISC_LIST_NEXT(find, publink))