From f6d54f6ccb2b75e9aa33585364ac15e71cf19cbb Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 29 Oct 1999 21:43:13 +0000 Subject: [PATCH] fix logic bug --- lib/dns/adb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 397b9758aa..ca6c19fd10 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -1725,7 +1725,7 @@ dns_adb_createfind(dns_adb_t *adb, isc_task_t *task, isc_taskaction_t action, */ if (WANTEVENT(find->options) && QUERYPENDING(wanted_addresses, adbname->query_pending) - && (WANTEMPTYEVENT(find->options) ? HAVE_ADDRS(find) : 1)) { + && (WANTEMPTYEVENT(find->options) ? !HAVE_ADDRS(find) : 1)) { find->adbname = adbname; find->name_bucket = bucket; ISC_LIST_APPEND(adbname->finds, find, plink);