From 4f21f7feaff27d5356827e39a4537a60a5e4054c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 15 Mar 2005 23:38:27 +0000 Subject: [PATCH] 1830. [bug] adb lame cache has sence of test reversed. [RT #13600] --- CHANGES | 2 ++ lib/dns/adb.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 71f1660f1a..37b044190b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1830. [bug] adb lame cache has sence of test reversed. [RT #13600] + 1829. [bug] win32: "pid-file none;" broken. [RT #13563] 1828. [bug] isc_rwlock_init() failed to properly cleanup if it diff --git a/lib/dns/adb.c b/lib/dns/adb.c index eb8064041e..040a0b3ff8 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: adb.c,v 1.218 2004/11/10 22:33:18 marka Exp $ */ +/* $Id: adb.c,v 1.219 2005/03/15 23:38:27 marka Exp $ */ /* * Implementation notes @@ -3347,7 +3347,7 @@ dns_adb_marklame(dns_adb_t *adb, dns_adbaddrinfo_t *addr, dns_name_t *zone, bucket = addr->entry->lock_bucket; LOCK(&adb->entrylocks[bucket]); zi = ISC_LIST_HEAD(addr->entry->zoneinfo); - while (zi != NULL && dns_name_equal(zone, &zi->zone)) + while (zi != NULL && !dns_name_equal(zone, &zi->zone)) zi = ISC_LIST_NEXT(zi, plink); if (zi != NULL) { if (expire_time > zi->lame_timer)